frnkgns/overgeared-skills/knowledge-vault
Claude Code and agent skill by frnkgns/overgeared-skills
- community
Checking that the SKILL.md file is still in the repository.
Manage persistent project knowledge in the user's Knowledge Vault, including project/vault discovery, note-first lookup, vault initialization and normalization, automatic knowledge capture, architecture and ADRs, patterns, bugs, enhancements, investigations, work-in-progress, sessions, reports, and migration. MUST be used when durable knowledge is established during a task, even when the user never asks for notes, and when the user says "remember this", "save this workflow", or "don't do that a…
Install
npx vskill@latest install frnkgns/overgeared-skills/knowledge-vaultSKILL.md
The same SKILL.md was published earlier as frnkgns/overgeared-skills/knowledge-vault.
Knowledge Vault
Project Discovery
- Resolve the project root from the nearest Git root, project metadata, or working directory.
- Resolve the project identity in this order:
.project-agent.md- explicit project metadata
- package/project name
- Git repository name
- root directory name
- Normalize the identifier for filesystem use:
- lowercase
- trim whitespace
- convert spaces and underscores to hyphens
- remove unsafe characters
- collapse repeated hyphens
- Resolve the knowledge root to:
~/Documents/KnowledgeVault/<project-identifier>/
unless .project-agent.md explicitly overrides it.
- Keep global Overgeared Skills configuration project-agnostic.
This precedence is implemented in src/discovery/resolve.mjs and enforced, not merely described. Call gentjin_discovery with action resolve rather than resolving by hand, so the record and the enforced behavior cannot drift apart. When the implementation and this section disagree, the implementation is the authority.
Discovery Readiness Before Retrieval
Reading memory is not enough on its own; readiness also requires that the source the task will change has been inspected in this session. Before any project edit:
- Call
gentjin_discoverywith actionresolve. - Read the source the change affects. Reads are recorded per session by the runtime.
- Call
gentjin_discoverywith actionscopeand the intended paths. - Call
gentjin_discoverywith actionmemoryrecording the notes read, orno_relevant_notes. - Confirm with action
statusthat readiness isready.
A claimed note is only accepted when it exists inside the resolved knowledge root and was actually read this session. Claiming that no note applies is accepted only when the knowledge root holds no memory-index.md. Set failed only when retrieval genuinely failed, which reports degraded operation rather than blocking.
Readiness is invalidated when an inspected file changes or is deleted, or when the checked-out revision moves. After invalidation, re-read the affected source and declare scope again. Reads are never refused, so recovery is always possible.
Workflow Memory
Use workflow memory for recurring commands, personal automation patterns, and repeatable computer tasks that are likely to be requested again. Keep cross-project workflows in the global Overgeared Skills workflow store and project-specific workflows in the current project vault.
Use ~/Documents/KnowledgeVault/gentjin/workflows/ as the default global workflow store unless project metadata provides an explicit override. Use <project-knowledge-root>/workflows/ for project-specific workflows.
Before acting on a recurring request:
- Search by intent, target, and expected outcome rather than exact wording.
- Read the smallest relevant workflow note.
- Check its scope, preconditions, status, and last-verified date.
- Reuse it only when the current project, environment, tools, and permissions still match.
- Treat current source code, current tool behavior, and explicit user instructions as authoritative when older knowledge conflicts.
After a workflow succeeds, capture it only when it has likely future value. Keep one concise note with:
- Status
- Scope
- Trigger phrases
- Intent
- Preconditions
- Steps
- Verification
- Failure or revision notes
- Last verified date
If the user reports that a workflow did not work, do not mark it verified or create a duplicate. Preserve the failure reason, revise the existing note, and record the replacement only after verification. Never store full transcripts, credentials, secrets, one-off requests, or unverified guesses.
Knowledge Vault Migration
The legacy-to-canonical vault rename is an install-time concern, not a runtime one. It is owned by the install-overgeared-skills and update-overgeared-skills commands and by INSTALL.md. Do not perform a vault directory rename during ordinary work.
When you encounter an obviously legacy vault layout inside a project vault, normalize the internal structure per the mapping below. Never rename or move the vault directory itself as a side effect of ordinary knowledge work.
Vault Initialization
Overgeared Skills uses one canonical vault architecture.
If the project vault does not exist, initialize the canonical structure automatically.
If it already exists:
- Preserve all existing knowledge.
- Never reset or recreate the vault.
- Create missing canonical directories when needed.
- Preserve additional user-created directories and notes.
- Never delete or overwrite existing knowledge merely to normalize structure.
Do not create empty notes solely to populate directories.
Canonical Vault Structure
Use this architecture consistently across Overgeared Skills-managed project vaults.
Do not create deeper directory structures unless the project's scale clearly requires them.
Note-First Workflow
Before answering a project-specific question or making significant implementation changes:
- Identify the problem or development area.
- Search relevant project knowledge by meaning or scenario rather than exact wording.
- Read only the notes relevant to what the user asked and their meaningful wiki links.
- Inspect current source code and schemas.
- Reuse recorded decisions, patterns, or solutions when they still match the current implementation.
- If stored knowledge conflicts with current source code, treat the current implementation as authoritative.
- Correct outdated knowledge after verifying the new behavior.
Do not load the entire vault.
Prefer:
Search → Relevant Notes → Current Source/Schema → Work
Knowledge priority:
Current Source/Schema → Accepted ADRs → Architecture → Modules → Patterns → Concepts → Issue History → Active WIP → Questions → Sessions → Reports
Project Memory
project/ answers "what is this repository?" so a later session does not rediscover structure, stack, and commands that are already known.
| Note | Stores | |
|---|---|---|
project/overview.md | Name, type, repository, purpose, primary areas, important entry points | |
project/structure.md | Repository layout, directory responsibilities, important relationships, relevant conventions | |
project/stack.md | Verified runtime, frontend, backend, database, infrastructure, tooling | |
project/commands.md | Verified install, development, build, test, lint, and type-check commands | |
project/state.md | Project id, repository, default branch, detected files, known roots, last verified commit/branch, known uncertainty |
Create project/ lazily. When a project vault has no project/, create it on first use, and create only the notes that were actually established. Do not create it for every project automatically, and never delete or overwrite existing notes to add it.
First-time exploration should be targeted and compact: purpose, stack, major roots, entry points, primary module relationships, and commands. Do not attempt to document every file.
Store only verified content. Commands come from package files, scripts, documentation, or a successful run. Never invent commands or technologies.
Each note starts with Last verified: YYYY-MM-DD. Add Last verified commit: and Last verified branch: in project/state.md when Git is available. These are staleness hints only and must never trigger an automatic full rescan.
Keep project/ describing the current known state. History belongs in sessions/, issues/, reports/, and work-in-progress/archive/.
Retrieving Project Memory
Before broadly exploring a project:
- Resolve the current project knowledge root.
- Check whether
project/already exists. - Read only the notes relevant to what the user asked.
- Verify only the paths the task will touch.
- Update the note whose durable content changed, and nothing else.
Re-explore an area only when a referenced path no longer exists, current source contradicts stored memory, the memory is insufficient for the task, or the user asks for a fresh project-wide exploration. Do not re-discover the framework, re-map every directory, or re-read unrelated modules during ordinary feature work.
Reuse before creating. Update project/structure.md rather than adding project-structure-2.md, project-structure-new.md, or structure-final.md.
Precedence when memory conflicts with reality:
Current source/schema → Current project configuration → Verified project memory → Older notes
Trust the current code, decide whether the memory is stale, then correct the memory when the new information is durable. Do not preserve an incorrect note merely because it already exists.
Memory Index
Maintain a compact memory-index.md at the project vault root so a session can learn what knowledge exists without opening every note.
Its only job is answering "what knowledge exists, and where is it?". One line per topic:
Keep it bounded:
Never put note contents, code examples, or history logs in the index. If the project outgrows one file, split into indexes/<domain>.md and link those from the root index, but only when that is actually needed. Do not create dozens of index files.
Create the index lazily. A vault without one keeps working; create it when enough canonical knowledge exists to be worth indexing, and never require a destructive migration.
Update an index entry when a note's title, location, or meaning changes, and remove references that no longer resolve. Do not rebuild the whole index on every change.
Retrieval Pipeline
Looking up prior knowledge is required, not optional. The discovery gate states what is missing before an edit and records the miss, but does not refuse the edit — so nothing stops you except your own follow-through. Treat questions the same way, because a question is as likely to depend on a past decision as a task is.
When: a task about the project, or a question about how something works, was decided, or broke before. Not when: a greeting, an acknowledgement, "continue", or something already answered by the code in front of you. Length is not the test — "why does this use SQLite" needs a lookup and "hey, can you help" does not. When genuinely unsure, look and record what you found.
Nothing is injected into a prompt. No note text is ever appended to what the user typed. Every step below is a file read you perform yourself, in the open.
This is the start of the file. Read the full SKILL.md on GitHub.
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 repositoryCheckingskills/knowledge-vault/SKILL.md
Popularity
- 7-day trend score
- 0
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/frnkgns/overgeared-skills/knowledge-vault)