spywhere/dotfiles/capture-project-context
Claude Code and agent skill by spywhere/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Record verified project facts and workflows directly when they can help future work. Small, repeatedly useful details qualify.
Install
npx vskill@latest install spywhere/dotfiles/capture-project-contextSKILL.md
Capture Project Context
Purpose
Save project knowledge that can help a future agent avoid repeated work. Write it yourself as soon as you verify it. Do not wait for task completion or delegate the write.
A small fact can qualify, even during a one-line fix or a short investigation. Record reusable knowledge, not a transcript of the task.
When to record
Consider a note when you learn:
- A project-specific build, test, lint, or run command.
- A convention or constraint absent from current instructions.
- A setup detail, dependency, or command order that prevents a recurring failure.
- An architecture decision that affects future changes.
- A repeatable workflow for this project.
Ask whether a future agent can use the note to avoid a search, mistake, or unnecessary command. If the answer is yes, task size does not matter.
Do not record duplicate facts, unsupported guesses, secrets, or temporary task status. If the knowledge applies across projects, follow ~/.agents/skills/kb/SKILL.md and write to the global KB directly.
Choose the destination
Project AGENTS.md
Use the project's instructions for broadly useful facts:
- Project structure and architecture.
- Exact build, test, lint, and run commands.
- Coding conventions and interface constraints.
- Setup details and tool limits.
Project skill
Use a skill for a focused workflow with repeatable steps. Follow the project's existing skill layout. Otherwise, use <project_root>/.agents/skills/<slug>/SKILL.md.
Keep facts in AGENTS.md and detailed workflows in skills. Link to existing guidance instead of duplicating it.
Direct-write process
- Confirm the absolute project root and the fact's scope.
- Read the existing
AGENTS.mdand relevant project skills. - Choose the existing section or skill that best matches the topic.
Create a section or file only when needed.
- Use your own file tools to merge the note into that destination.
Preserve unrelated instructions and correct content. Remove duplicate guidance that your edit introduces.
- Include exact commands, paths, conditions, and evidence when they help future use.
Explain the reason when it prevents a mistake.
- Read the result and check its accuracy, scope, and brevity.
- Tell the user what you saved and where.
Read the latest content before an update if another agent can write to the same file. Do not overwrite concurrent changes. Respect read-only task limits and tool permissions. If permissions block a write, report the destination and note instead of claiming success.
New skill format
Before the final response, check for missed project knowledge. Do not use this final check to delay notes that were useful earlier.
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 repositoryCheckingconfigs/agents/skills/capture-project-context/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 3
- 7-day trend score
- 20
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/spywhere/dotfiles/capture-project-context)