/kb:research-deepfrom kb
Reads a research outline and launches parallel web-search agents to produce structured JSON output with validation. Useful for systematic multi-topic research.
Ships in kb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Attribution: Originally authored by Weizhena. Included with attribution for use in the Deep query workflow.
/research-deep
Find */outline.yaml file in current working directory, read items list and execution configuration (including items_per_agent).
Parameter Retrieval:
{topic}: topic field from outline.yaml{item_name}: name field of item{item_related_info}: complete yaml content of item (name + category + description etc.){output_dir}: execution.output_dir from outline.yaml (default ./results){fields_path}: absolute path to {topic}/fields.yaml{output_path}: absolute path to {output_dir}/{item_name_slug}.json (slugify item_name: replace spaces with _, remove special characters)Hard Constraint: The following prompt must be strictly recited, only replace variables in {xxx}, do not rewrite structure or wording.
Prompt Template:
prompt = f"""## Task
Research {item_related_info}, output structured JSON to {output_path}
## Field Definitions
Read {fields_path} to get all field definitions
## Output Requirements
1. Output JSON according to fields defined in fields.yaml
2. Mark uncertain field values as [不确定]
3. Add uncertain array at end of JSON, listing all uncertain field names
4. All field values must be output in Chinese (research process can use English, but final JSON values in Chinese)
## Output Path
{output_path}
## Validation
After completing JSON output, run validation script to ensure complete field coverage:
python ~/.claude/skills/research/validate_json.py -f {fields_path} -j {output_path}
Task is only complete after validation passes.
"""
One-shot Example (assuming research on GitHub Copilot):
## Task
Research name: GitHub Copilot
category: International Product
description: Developed by Microsoft/GitHub, first mainstream AI programming assistant, market share about 40%, output structured JSON to /home/weizhena/AIcoding/aicoding-history/results/GitHub_Copilot.json
## Field Definitions
Read /home/weizhena/AIcoding/aicoding-history/fields.yaml to get all field definitions
## Output Requirements
1. Output JSON according to fields defined in fields.yaml
2. Mark uncertain field values as [不确定]
3. Add uncertain array at end of JSON, listing all uncertain field names
4. All field values must be output in Chinese (research process can use English, but final JSON values in Chinese)
## Output Path
/home/weizhena/AIcoding/aicoding-history/results/GitHub_Copilot.json
## Validation
After completing JSON output, run validation script to ensure complete field coverage:
python ~/.claude/skills/research/validate_json.py -f /home/weizhena/AIcoding/aicoding-history/fields.yaml -j /home/weizhena/AIcoding/aicoding-history/results/GitHub_Copilot.json
Task is only complete after validation passes.
After all completion, output:
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/kbUse when compiling raw sources into the wiki, querying the knowledge base, running health checks or lint on the wiki, evolving or improving wiki coverage, or when user says 'compile', 'update the wiki', 'query', 'lint', 'health check', 'evolve', 'what's missing', or 'suggest improvements'. Also triggers on questions that should be answered from the knowledge base./kb-initUse when setting up a new knowledge base, bootstrapping an Obsidian vault, or when user says 'init kb', 'new knowledge base', 'create kb', or 'setup vault'. Triggers on any request to initialize or scaffold a knowledge base project./kb-preferencesUse when user wants to view, update, reset, or audit report preferences stored in vault kb.yaml. Triggers on '/kb-preferences', 'update report prefs', 'change report style', 'my preferences', or when a passive reflection step in another skill needs to propose preference updates./researchResearch Skill - Preliminary ResearchConduct preliminary research on a target topic and generate a research outline. Used for academic research, benchmark research, technology selection, and similar scenarios./research-add-fieldsResearch Add Fields - Add Research FieldsAdd field definitions to existing research outline./research-add-itemsResearch Add Items - Add Research SubjectsAdd items (research subjects) to existing research outline.npx claudepluginhub rvk7895/llm-knowledge-bases --plugin kbOther plugins' skills for the same job