meain/dotfiles/save-research
Claude Code and agent skill by meain/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Summarize and save research findings from the current conversation into a well-structured markdown document. Triggers: /save-research, "save this research", "write up findings", "document what we found", "save these notes"
Install
npx vskill@latest install meain/dotfiles/save-researchSKILL.md
/save-research -- Save Research Findings to Markdown
Collect, organize, and write all research findings from the current conversation into a structured markdown document for future reference.
When to Use
Use this skill when:
- You have been researching a topic and want to preserve the findings
- The conversation contains useful information worth saving as a reference
- You want to build up a knowledge base over time
Instructions
Phase 1: Gather Findings
- Review the entire conversation history to identify all research findings, insights,
code examples, links, decisions, and key takeaways.
- Group related findings into logical sections.
- Note any open questions or areas that need further research.
Phase 2: Determine Output Location
Ask the user or infer from context:
- Project-specific research (related to the current codebase or project):
Save to .mdocs/<category>/ in the project root (see Phase 2b for categories). Create the directory if it does not exist.
- Generic / cross-project research (general knowledge, tools, techniques):
Save to /Users/meain/dev/mdocs/<category>/ using the same category system as project-specific research (see Phase 2b). Create the directory if it does not exist.
If it is unclear whether the research is project-specific or generic, ask the user.
Phase 2b: Determine the Category
Project-specific documents must be placed in a category subdirectory under .mdocs/. Pick the best-fit category based on the document's purpose:
| Category | When to use | |
|---|---|---|
plan | Step-by-step plans for executing a task across repos/systems (has ordered steps, timelines, or rollout tiers) | |
guide | Proactive how-to instructions — "I want to do X" (testing guides, operational procedures, style guides) | |
runbook | Reactive incident response — "something broke, now what?" (triage steps, remediation, rollback procedures) | |
design | Forward-looking proposals and architecture decisions (options analysis, solution designs, feature specs) | |
reference | Explanations of how something already works (system behavior, patterns, tool docs, configuration references) | |
investigation | Analysis of bugs, performance issues, code quality, or root causes (debugging findings, violation reports, post-mortems) | |
task | Tracking documents for specific tickets or work items (task checklists, ticket context, status tracking) |
If a document spans multiple categories, pick the primary purpose:
- A design doc that includes investigation context →
design - A guide that was born from an investigation →
guide - A plan driven by a specific ticket →
plan(nottask)
If genuinely unsure, ask the user.
Phase 3: Determine the Filename
- Derive a descriptive, kebab-case filename from the research topic.
- Example:
.mdocs/reference/go-generics.md,.mdocs/design/react-server-components-patterns.md
- For project-specific research, the full path is:
.mdocs/<category>/<filename>.md - If a file with the same name already exists, ask the user whether to:
- Append to the existing file
- Overwrite it
- Use a different name
Phase 4: Write the Document
Use the following structure for the markdown file. The title, date, tags, and status should be in YAML front matter metadata rather than in the document body. This keeps the # (h1) heading level available for use within the document content itself.
Writing guidelines:
- Always include a session ID in the YAML front matter so the source conversation can be traced back later. If
${CLAUDE_SESSION_ID}is available (Claude Code), useclaude-session-id:as the key. Otherwise, when running under pi agent (checkPI_CODING_AGENT=trueenv var), ask the user to provide the session ID and usepi-session-id:as the key. The user can run/sessionin pi to look up the current session ID. - Be concise but thorough -- these are reference documents, not prose
- Prefer bullet points over paragraphs
- Include concrete code examples where applicable
- Use proper markdown formatting (headings, code fences, links)
- Add tags that would help with future search and discovery
- Use today's date for the Date field
Phase 5: Verify
- Read back the written file to confirm it was saved correctly.
- Report the full file path to the user.
- Provide a brief summary of what was captured (number of sections, key topics).
Guidelines
- NEVER fabricate information that was not discussed in the conversation
- NEVER omit significant findings from the conversation
- If the conversation covered multiple unrelated topics, ask the user if they want separate files or one combined document
- Preserve technical accuracy -- do not paraphrase code or commands incorrectly
- Keep the document self-contained so it is useful without the original conversation context
- Omit sections from the template that have no content (e.g., skip "Open Questions" if there are none)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/.agents/skills/save-research/SKILL.md
Popularity
- Repository stars
- 279
- Repository forks
- 11
- 7-day trend score
- 33
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/meain/dotfiles/save-research)