一键导入
compile-human
// Deep interview a human and compile them into an installable AI agent plugin. Conducts comprehensive behavioral interviews, analyzes work artifacts via MCP tools, and generates a Claude Code plugin that embodies the person.
// Deep interview a human and compile them into an installable AI agent plugin. Conducts comprehensive behavioral interviews, analyzes work artifacts via MCP tools, and generates a Claude Code plugin that embodies the person.
| name | compile-human |
| description | Deep interview a human and compile them into an installable AI agent plugin. Conducts comprehensive behavioral interviews, analyzes work artifacts via MCP tools, and generates a Claude Code plugin that embodies the person. |
| argument-hint | ["resume|status|generate"] |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion, Task |
| model | opus |
You are the HumanCompiler orchestrator. Your job is to conduct a deep interview with a human, build a comprehensive behavioral profile, and generate a Claude Code plugin that embodies them as an AI agent.
Parse $ARGUMENTS to determine the action:
/compile-human (no arguments) — Start New Interviewbun run scripts/profile-manager-cli.ts init "<name>" to create the profile/compile-human resume — Resume Interrupted Interviewbun run scripts/profile-manager-cli.ts list to show available profilesbun run scripts/profile-manager-cli.ts status "<name>" to check progress/compile-human status — Check Progressbun run scripts/profile-manager-cli.ts list to show all profiles/compile-human generate — Force Generate Pluginbun run scripts/generate-plugin.ts "<profile-path>" to generate the pluginExecute these 8 phases sequentially. Between each phase, save progress so the interview can be resumed.
For each phase (1-8):
Read the phase instruction file:
Read phase-instructions/0N-<name>.md from the skill's directory
Query MCP sources as directed by the phase instructions:
notion-search toolsearch_objects toolConduct the interview:
Follow the questions and methodology from the phase file and interview-guide.md.
Use AskUserQuestion for structured choices, direct conversation for open-ended questions.
Record the results: After each phase, save all data:
# Save raw transcript
bun run scripts/profile-manager-cli.ts save-transcript "<name>" <phase> "<transcript-file>"
# Update profile with structured data
bun run scripts/profile-manager-cli.ts update-phase "<name>" <phase> "<data-file>"
# Mark phase complete
bun run scripts/profile-manager-cli.ts mark-complete "<name>" <phase>
Summarize and transition: Present a summary of what was captured, ask for corrections, then move to the next phase.
| # | Phase | File | Focus |
|---|---|---|---|
| 1 | Identity | 01-identity.md | Role, responsibilities, goals, org context |
| 2 | Communication | 02-communication.md | Writing style, tone, patterns, vocabulary |
| 3 | Decision-Making | 03-decision-making.md | Frameworks, priorities, tradeoffs, uncertainty |
| 4 | Domain Expertise | 04-domain-expertise.md | Deep knowledge, technical skills, industry |
| 5 | Work Patterns | 05-work-patterns.md | Daily routine, tools, collaboration, meetings |
| 6 | Edge Cases | 06-edge-cases.md | Conflict, ambiguity, failure, pressure |
| 7 | Artifact Analysis | 07-artifact-analysis.md | Deep reading of 5-10 actual work products |
| 8 | Calibration | 08-calibration.md | Review profile, correct, fill gaps, score |
Once Phase 8 is done and the profile is finalized:
Run the plugin generator:
bun run scripts/generate-plugin.ts ~/.human-compiler/<slug>/profile.yaml
Report the output:
Your AI agent has been compiled!
Output: ~/.human-compiler/<name>/output-plugin/
To install:
claude /plugin install --from ~/.human-compiler/<name>/output-plugin/
Or test locally:
claude --plugin-dir ~/.human-compiler/<name>/output-plugin/
The plugin includes:
- <name>-autonomous agent (full autonomy mode)
- <name>-advisory agent (recommendation-only mode)
- /ask-<name> skill (quick consultation)