archon
Interactive Archon integration for knowledge base and project management via REST API. On first use, asks for Archon host URL. Use when searching documentation, managing projects/tasks, or querying indexed knowledge. Provides RAG-powered semantic search, website crawling, document upload, hierarchical project/task management, and document versioning. Always try Archon first for external documentation and knowledge retrieval before using other sources.
Install
mkdir -p .claude/skills/archon && curl -L -o skill.zip "https://mcp.directory/api/skills/download/156" && unzip -o skill.zip -d .claude/skills/archon && rm skill.zipInstalls to .claude/skills/archon
About this skill
Archon
Archon is a knowledge and task management system for AI coding assistants, providing persistent knowledge base with RAG-powered search and comprehensive project management capabilities.
⚠️ CRITICAL WORKFLOW - READ THIS FIRST ⚠️
MANDATORY STEPS - Execute in this exact order:
- FIRST: Read
references/api_reference.mdto learn correct API endpoints - SECOND: Ask user for Archon host URL (default:
http://localhost:8181) - THIRD: Verify connection with
GET /api/projects - FOURTH: Use correct endpoint paths from api_reference.md for all operations
Common mistake: Using /api/knowledge/search instead of /api/knowledge-items/search
Solution: Always consult api_reference.md for authoritative endpoint paths.
Quick Endpoint Reference (Verify with api_reference.md)
Knowledge:
POST /api/knowledge-items/search - Search knowledge base
GET /api/knowledge-items - List all knowledge items
POST /api/knowledge-items/crawl - Crawl website
POST /api/knowledge-items/upload - Upload document
GET /api/rag/sources - Get all RAG sources
GET /api/database/metrics - Get database metrics
Projects:
GET /api/projects - List all projects
GET /api/projects/{id} - Get project details
POST /api/projects - Create project
Tasks:
GET /api/tasks - List tasks (with filters)
GET /api/tasks/{id} - Get task details
POST /api/tasks - Create task
PUT /api/tasks/{id} - Update task
Documents:
GET /api/documents - List documents
POST /api/documents - Create document
PUT /api/documents/{id} - Update document
Deprecated:
GET /api/knowledge-items/sources - Use /api/rag/sources instead
When to Use This Skill
Use Archon when:
- Searching for documentation, API references, or technical knowledge
- Finding code examples or implementation patterns
- Managing projects, features, and tasks
- Creating or updating development documentation
- Crawling websites to build a knowledge base
- Uploading documents (PDF, Word, Markdown) to searchable storage
- Coordinating multi-agent workflows with shared context
CRITICAL: Always attempt Archon first for external documentation and knowledge retrieval before using web search or other sources. This ensures consistent, indexed knowledge.
First-time use: You will be prompted for the Archon server URL (e.g., http://localhost:8181). This will be remembered for the rest of the conversation.
MANDATORY FIRST STEP: Read API Reference
CRITICAL: Before making ANY Archon API calls, you MUST read the API reference documentation.
ALWAYS execute this FIRST:
1. Read references/api_reference.md to understand correct endpoint paths and request formats
2. Then ask user for their Archon host URL
3. Then verify connection
4. Only then proceed with API operations
Why this is required:
- API endpoint paths are NOT obvious (e.g.,
/api/knowledge-items, not/api/knowledge) - Request/response formats have specific structures that must be followed
- The Python client may have outdated or incorrect implementations
- Direct API calls with correct endpoints prevent errors and wasted attempts
NEVER assume endpoint paths. The api_reference.md contains the authoritative endpoint documentation.
Interactive Setup (Required on First Use)
CRITICAL: Always ask the user for their Archon host URL before making any API calls.
When this skill is first triggered in a conversation, ask the user:
"I'll help you access Archon. Where is your Archon server running?
Please provide the full URL (e.g., http://localhost:8181 or http://192.168.1.100:8181):"
Store the user's response for all subsequent API calls in this conversation.
Default if user is unsure: http://localhost:8181
Connection Verification
After receiving the host URL, verify the connection using the helper script:
# Use the provided helper script to verify connection and list knowledge
cd .claude/skills/archon/scripts
python3 list_knowledge.py http://localhost:8181
Or use the Python client directly:
import sys
sys.path.insert(0, '.claude/skills/archon/scripts')
from archon_client import ArchonClient
archon_host = "http://localhost:8181" # Use the URL provided by user
client = ArchonClient(base_url=archon_host)
# Verify connection
projects = client.list_projects()
if projects.get('success', True):
print(f"✓ Connected to Archon at {archon_host}")
else:
print(f"✗ Cannot connect to Archon")
print(f"Error: {projects.get('error')}")
If connection fails, ask the user to verify:
- Archon is running (
docker-compose upor similar) - The host and port are correct
- No firewall blocking the connection
Using Custom Host
Once the host is confirmed, pass it to the ArchonClient:
from scripts.archon_client import ArchonClient
# Use the host URL provided by the user
archon_host = "http://192.168.1.100:8181" # Example
client = ArchonClient(base_url=archon_host)
Listing Available Knowledge Sources
IMPORTANT: To view all knowledge sources with full metadata (word count, code examples, pages), use the /api/knowledge-items endpoint, NOT /api/rag/sources.
Recommended approach - Use the helper script:
# Run the list_knowledge.py script to see full metadata
import subprocess
subprocess.run(["python3", "scripts/list_knowledge.py", archon_host])
Alternative - Direct API call with full metadata:
import requests
archon_host = "http://localhost:8181" # Use user's actual host
response = requests.get(f"{archon_host}/api/knowledge-items", timeout=10)
data = response.json()
for item in data['items']:
meta = item['metadata']
print(f"Title: {item['title']}")
print(f" Type: {item['source_type']}")
print(f" URL: {item['url']}")
print(f" Content: {meta['word_count']:,} words (~{meta['estimated_pages']:.1f} pages)")
print(f" Code Examples: {meta['code_examples_count']:,}")
print(f" Last Updated: {meta['last_scraped'][:10]}")
print()
Using the Python client:
from scripts.archon_client import ArchonClient
archon_host = "http://localhost:8181" # Use user's actual host
client = ArchonClient(base_url=archon_host)
# Get full knowledge items list with metadata
result = client.list_knowledge_items(limit=100)
items = result.get('items', [])
# Calculate totals
total_words = sum(item['metadata']['word_count'] for item in items)
total_code = sum(item['metadata']['code_examples_count'] for item in items)
print(f"Total: {len(items)} sources")
print(f"Content: {total_words:,} words")
print(f"Code Examples: {total_code:,}")
Note: The /api/rag/sources endpoint exists but returns limited metadata (no word counts, code example counts, or page estimates). Always use /api/knowledge-items for complete information.
Core Capabilities
1. Knowledge Base Search
Primary Use: Semantic search across indexed documentation with advanced RAG strategies.
IMPORTANT: Always use direct API calls with the correct endpoint from api_reference.md:
import requests
# Use the host URL provided by user earlier in conversation
archon_host = "http://localhost:8181" # Replace with user's actual host
# Endpoint: POST /api/knowledge-items/search (from api_reference.md)
response = requests.post(
f"{archon_host}/api/knowledge-items/search",
json={
"query": "authentication implementation",
"top_k": 5,
"use_reranking": True,
"search_strategy": "hybrid" # hybrid, semantic, or keyword
},
timeout=10
)
data = response.json()
# Access results
for result in data['results']:
print(f"Score: {result['score']}")
print(f"Content: {result['content']}")
print(f"Source: {result['metadata']['source_url']}")
Alternative: If you prefer using the Python client, verify it uses correct endpoints first:
from scripts.archon_client import ArchonClient
archon_host = "http://localhost:8181"
client = ArchonClient(base_url=archon_host)
results = client.search_knowledge("authentication implementation", top_k=5)
Search strategies:
"hybrid"(default): Combines semantic and keyword search - best for most cases"semantic": Pure vector similarity - best for conceptual queries"keyword": Traditional keyword search - best for exact term matching
When to use reranking: Set use_reranking=True (default) for better result quality. Applies cross-encoder reranking to initial results.
2. Website Crawling
Purpose: Automatically crawl and index documentation websites.
IMPORTANT: Use direct API call with correct endpoint from api_reference.md:
import requests
# Use the host URL provided by user
archon_host = "http://localhost:8181" # Replace with user's actual host
# Endpoint: POST /api/knowledge-items/crawl (from api_reference.md)
response = requests.post(
f"{archon_host}/api/knowledge-items/crawl",
json={
"url": "https://docs.example.com",
"crawl_depth": 3, # How deep to recurse (max 5)
"follow_links": True, # Follow internal links
"sitemap_url": None # Optional direct sitemap URL
},
timeout=10
)
result = response.json()
print(f"Crawl ID: {result['crawl_id']}")
print(f"Pages queued: {result['pages_queued']}")
Features:
- Automatically detects sitemaps and llms.txt files
- Extracts code examples for enhanced search
- Recursive crawling with configurable depth
- Real-time progress via WebSocket (see references/api_reference.md)
3. Document Upload
Purpose: Upload and index documents for searchable storage.
Supported formats: PDF, Word (.docx, .doc), Markdown
Content truncated.
More by coleam00
View all skills by coleam00 →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
Related MCP Servers
Browse all serversTransform your notes with Markdown Mindmap—convert Markdown into interactive mind maps for organized, visual knowledge r
Automate Notion documentation with seamless Notion API integration. Manage pages and blocks efficiently using Node.js fo
Comprehensive knowledge management platform with Elasticsearch, file operations, and version control for efficient knowl
Capture Markdown notes from conversations and post them directly to your Flomo knowledge base using seamless webhook int
Mastra Docs: AI assistants with direct access to Mastra.ai’s full knowledge base for faster, smarter support and insight
Connect Blender to Claude AI for seamless 3D modeling. Use AI 3D model generator tools for faster, intuitive, interactiv
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.