jhlee0409/all-for-claudecode/consult
Claude Code and agent skill by jhlee0409/all-for-claudecode
- community
Checking that the SKILL.md file is still in the repository.
Expert consultation — backend, infra, PM, design, marketing, legal, or tech guidance
Install
npx vskill@latest install jhlee0409/all-for-claudecode/consultSKILL.md
The same SKILL.md was published earlier as jhlee0409/all-for-claudecode/consult.
/afc:consult — Expert Consultation
Consult a domain expert for advice tailored to your project.Each expert has persistent memory — they remember your project's decisions across sessions.Pipeline-independent: works anytime, no active pipeline required.
Arguments
$ARGUMENTS— (optional) Format:[domain] "[question]" [brief|deep]domain— one of:backend,infra,pm,design,marketing,legal,security,advisor,peer(optional, auto-detected if omitted)question— the consultation question (optional, enters exploratory mode if omitted)brief|deep— depth hint (optional, default:auto)
Execution Steps
1. Parse Arguments
Extract from $ARGUMENTS:
- domain: first word if it matches a known domain name
- question: remaining text after domain (if any), with quotes stripped
- depth: last word if it matches
briefordeep
If $ARGUMENTS is empty → go to Step 2 (domain selection).
2. Domain Detection
A. Explicit domain provided → use it directly.
B. No domain, but question provided → intent-based evaluation:
| Domain | When to route | |
|---|---|---|
| backend | Server-side logic, data modeling, API design, authentication flows, database decisions | |
| infra | Deployment, CI/CD pipelines, cloud services, scaling, reliability, monitoring | |
| pm | What to build, for whom, when, how to measure success, prioritization, scope | |
| design | Visual hierarchy, interaction patterns, accessibility, component design, user flow | |
| marketing | SEO, content strategy, acquisition funnels, analytics tracking, growth tactics | |
| legal | Regulatory obligations, license compatibility, privacy requirements | |
| security | Threats, vulnerabilities, attack surfaces, threat modeling, compliance | |
| advisor | Choosing between technologies, frameworks, libraries, or architectural approaches | |
| peer | Think through a problem collaboratively, explore directions, weigh trade-offs |
Identify the PRIMARY expertise gap — what specialized knowledge does the user need most?
C. No domain, no question → ask user:
3. Peer Mode (if domain is peer)
Do not delegate to a subagent. Run dialogue directly in the main context.
See peer-mode.md for full behavior, coaching techniques, and wrap-up protocol.
Skip Steps 3b–6 and end here.
3b. Construct Expert Prompt (non-peer domains)
4. Delegate to Expert Agent
| Domain | subagent_type | |
|---|---|---|
| backend | afc:afc-backend-expert | |
| infra | afc:afc-infra-expert | |
| pm | afc:afc-pm-expert | |
| design | afc:afc-design-expert | |
| marketing | afc:afc-marketing-expert | |
| legal | afc:afc-legal-expert | |
| security | afc:afc-appsec-expert | |
| advisor | afc:afc-tech-advisor |
The agent runs in foreground (never run_in_background).
5. Relay Response
Return the agent's response to the user as-is. Do not summarize or filter.
6. Follow-up Prompt
Examples
Notes
- Limited write scope: Expert agents MUST only write to
.claude/afc/and.claude/agent-memory/. Writing to application source code is prohibited. - Persistent memory: Stored in
.claude/agent-memory/afc-{domain}-expert/MEMORY.md. - Project profile: Shared context at
.claude/afc/project-profile.md— auto-created on first consultation. - Domain adapters: Industry-specific guardrails (fintech, ecommerce, healthcare) auto-loaded based on project profile.
- Cross-referral: Experts may suggest consulting another domain when a question crosses boundaries.
- Peer mode: Runs in main context, not subagent. Produces
.claude/afc/discuss.mdon wrap-up. See peer-mode.md.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/consult/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jhlee0409/all-for-claudecode/consult)