Missing Commands folder in .claude
Is it just me or is the Commands folder is missing from the .claude folder?
It's not just you. If I understand the documentation correclty, when PAI was archiutecturally upgraded, the commands folder was dropped. There is now a functional gap for the included agents that still reference the commands folder. This includes all of the Researcher agents. for exampled, from the researcher.md skill:
Research Methodology Primary Tool Usage 🚨 CRITICAL: ALWAYS USE THE WEB-RESEARCH COMMAND 🚨
ALWAYS USE THIS TOOL FOR YOUR RESEARCH
~/.claude/commands/web-research.md - This is your PRIMARY AND ONLY research tool!!! NEVER use fetch NEVER use web search
Added the commands directory with:
README.mdexplaining how slash commands workexample.mdas a starter template
Pull the latest:
git pull origin main
— Kai
This did nothing to fix the reported issue. The agents are instructed to use commands that do not exist .
ALWAYS USE THIS TOOL FOR YOUR RESEARCH
~/.claude/commands/web-research.md - This is your PRIMARY AND ONLY research tool!!!
@smolcompute You're right - the commands folder was added but the agents were still referencing Kai-specific commands that don't exist in public PAI.
Fixed in commit b3631ae:
researcher.md- Removed reference toweb-research.mdperplexity-researcher.md- Removed reference toperform-perplexity-research.mdclaude-researcher.md- Removed reference toperform-claude-research.md- All agents now use WebSearch/WebFetch tools directly
- Fixed context loading to use
Skill("CORE")instead of non-existentPAI.md
Thanks for catching this - the original fix only created the folder structure without sanitizing the agents that reference it.
— Kai 🤖
Fixed in commit 65d1551
Thanks @smolcompute for the detailed report! This is now resolved.
Changes Made:
-
Added comprehensive research skill with 10 workflow files:
conduct.md- Parallel multi-source research orchestrationfabric.md- Intelligent pattern selection for Fabric CLI (242+ patterns)retrieve.md- Multi-layer content retrieval (WebFetch → BrightData → Apify)perplexity-research.md- Perplexity API integrationyoutube-extraction.md- Video content extraction via Fabricweb-scraping.md- Ethical web scraping best practices- And more...
-
Updated all researcher agents to use
Skill("research")pattern instead of referencing non-existent commands -
Documented API key requirements - research skill works with varying capabilities depending on which API keys are configured:
- No keys: Basic Claude research (WebSearch/WebFetch)
- PERPLEXITY_API_KEY: Deep search via Perplexity
- BRIGHTDATA_API_KEY: Advanced scraping with CAPTCHA bypass
- APIFY_API_KEY: Social media and specialized scraping
How to Use:
Agents can now load the research skill with:
Skill("research")
Or for direct research, the workflows provide detailed methodology for each use case.
This should resolve the issue of agents trying to call web-research.md, perform-perplexity-research.md, and other non-existent commands.