igovet/cortex-orch-acp/knowledge-harvest
Claude Code and agent skill by igovet/cortex-orch-acp
- community
Checking that the SKILL.md file is still in the repository.
Build or refresh durable, source-backed project documentation on an explicit /harvest or /harvest-refresh request, including the first request in a new Cortex session.
Install
npx vskill@latest install igovet/cortex-orch-acp/knowledge-harvestSKILL.md
The same SKILL.md was published earlier as igovet/cortex-orch-acp/knowledge-harvest.
Knowledge Harvest
Apply this skill only to an explicit harvest or harvest-refresh request. Bare /harvest, including as the first prompt in a new project session, asks Cortex to build durable documentation of the current project for future orchestration. Optional command text narrows or clarifies its scope; it is not required to start a task. /harvest-refresh asks Cortex to update an existing knowledge base against current source. Neither route summarizes prior chat work or requires a previous task. Ordinary product work does not implicitly authorize a census or broad documentation rewrite.
Build a durable functional map of the repository, not a task journal or recent commit summary. Documentation should let future Cortex tasks and a new engineer discover each in-scope capability, its owning code, runtime behavior, and verification or operating path. Publish it in the target project's canonical docs/project/ and docs/features/ entry points below; these remain visible across sessions through the project files, not through a prior task's chat.
Read the target project's applicable docs/project/ and docs/features/ indexes and linked pages, then confirm claims in current source. Missing or unreadable indexes require a source-backed census. Stale or conflicting knowledge does not by itself widen the assigned scope. Coordinator scope assessment lives in knowledge-harvest-scope; workers own all harvest repository work.
Modes
- Harvest: Maintain a complete baseline. If no current source-backed
coverage manifest establishes that the feature registry covers the repository, perform a full census. With a credible baseline, inspect changed and impacted surfaces and reconcile them against the complete inventory.
- Harvest refresh: Update existing project documentation by rebuilding the
inventory from current source without trusting prior coverage claims. Audit existing project and feature documents against that inventory, correct stale facts, and reconcile coverage. Prior chat or report summaries are leads, not the refresh source. Finish with a source-backed post-write comparison. A correction to documented behavior, defaults, or output is a concrete correctness risk even when implementation source did not change. The runtime's mandatory review checks material claims; list them in your report.
Shared skills and reporting
Apply skill tool-discipline to calls. Draft creator guidance and the worker profile supply the report requirements. Load a declared report example (index) only for an assigned content question. After context loss, load skill context-compaction and follow its rereading procedure.
Post-write evidence
Compare the source inventory with the coverage matrix, pages, links and checks. For corrected behavior, defaults or outputs, inspect all relevant documentation occurrences and executable examples, including otherwise unchanged pages. Run safe examples and compare exact exit status and stdout with expectations; retain unsafe or unverifiable examples as unresolved with concrete reasons. Report material corrected claims for the runtime's independent source-backed review. A harvest is documentation-impacting; never claim documentation not required. Preserve unaffected pages instead of making token edits.
Output structure
Maintain these canonical documents:
Every completed harvest contains all five listed docs/project/ files. The project index links the other four. Every non-excluded coverage row links a canonical docs/features/<feature>/index.md entry point; a flat docs/features/<feature>.md page alone is not canonical.
docs/features/index.md is the coverage manifest. It records census scope, source categories, discovered features and pages, unmapped surfaces, exclusions, known unknowns, and coverage status. “Complete” means every in-scope feature-bearing surface is mapped or explicitly excluded with evidence, not a guessed percentage of files.
Feature pages are behavior-complete rather than token summaries. Split a large feature into focused workflow, state/data, interface, configuration, operation, or verification pages while keeping index.md as its canonical entry point.
Delegation reports
Each worker receives its concrete assignment and mandatory requirements directly. It reads the reports its assignment names, lists the catalogue only when a needed reference is missing, and reads only needed pages before acting. It publishes its Markdown report through the same writer as every other profile, opening with the decision brief the publication tools require. The report states completed work and every incomplete or failed check truthfully. The live advertised contract alone defines tool arguments.
Report IDs are durable evidence references, not proof that work is complete. A successor reads only the reports it needs. A partial or failed report can support replacement, narrower research, parallel progress elsewhere, or an honest residual-risk statement.
Ask only when missing information materially changes the outcome. Coordinators use their advertised user-question route; workers use their advertised question route directly to the user. Internal storage and worker coordination conditions alone are not user questions. Follow the live schema, group related questions, and make meaningful alternatives and their consequences clear.
Evidence and preservation
Source, tests, executable configuration, schemas and migrations, and deployment definitions outrank generated documentation. Codebase Memory is the preferred worker route for structural project-code discovery when available: bind it to the exact canonical project root and use its graph evidence before local search. If it is unavailable, denied, timed out, erroneous, unusable, or insufficient, record that concrete limitation and use exactly one bounded repository-native enumeration or file/text-search fallback. Check index coverage for every cited graph path and bounded scope; confirm consequential claims in current source. A fallback must remain limited to the requested scope; never silently fall back or chain multiple fallback searches.
Run the repository's deterministic knowledge-census validator when available. Its result is advisory evidence for the model's own readiness judgment and the runtime's independent review, never a backend gate, authorization decision, or substitute for source confirmation.
Use <!-- GENERATED:START --> and <!-- GENERATED:END --> for refreshable facts. Preserve text outside generated blocks and do not overwrite manual decisions, gotchas, or feature explanations without evidence and explicit scope. Never expose secrets, source dumps, private operational values, or personal data.
Incomplete reports or unresolved dependencies may affect the model's readiness recommendation, but never prevent useful delegation, evidence access, corrective work, or a truthful final answer.
Feature census and completeness contract
Contents
- Inventory surface
- Feature boundary rules
- Coverage matrix
- Required feature documentation
- Mode-specific validation
- Failure conditions
Inventory surface
Build the inventory independently of existing docs. Inspect every applicable category, recording counts and representative authoritative paths:
- deployable applications and services;
- packages, bounded domains, and shared runtime libraries;
- API routes, controllers, handlers, RPC/GraphQL endpoints, and public SDKs;
- user-facing screens, navigation flows, commands, and administrative tools;
- background workers, schedulers, queues, consumers, pollers, reconcilers, and
maintenance jobs;
- domain policies, use cases, state machines, orchestration flows, and feature
flags;
- database schemas, migrations, repositories, caches, files, and external
state stores;
- third-party adapters, webhooks, exchanges, payment/auth/model providers, and
other integration boundaries;
- configuration groups, environment-controlled behavior, safety limits, and
compatibility switches;
- deployment manifests, process definitions, health checks, bootstrap paths,
observability, and operational recovery;
- tests and fixtures that reveal supported behavior, invariants, negative
paths, or hidden feature ownership.
Use repository-native file enumeration as a completeness backstop. Codebase Memory is the preferred worker route for project-code discovery when available: bind it to the exact canonical project root and use graph search, path tracing, then exact snippets before local search. If it is unavailable, denied, timed out, erroneous, unusable, or insufficient, record that concrete limitation and use exactly one bounded file/text-search fallback. Check graph coverage for every cited graph path and bounded scope, then confirm consequential claims in current source. Do not silently fall back or chain additional local searches. Graph evidence helps explain relationships but never replaces source-tree enumeration. Generated, vendored, build, cache, and dependency directories may be excluded once with a recorded reason. Tests are evidence and coverage signals, not separate product features unless the repository ships a testing product or framework.
Feature boundary rules
A feature is a cohesive capability with recognizable developer, operator, or user behavior and an owning runtime path. Prefer stable behavioral boundaries over directory names. A feature may cross packages or services. Shared infrastructure may have its own page when it exposes consequential contracts, failure behavior, or operational ownership.
Do not create one page per generic helper, model, folder, or generated file. Do not collapse a large service into one shallow “service overview” page when it owns multiple workflows, state machines, commands, integrations, or safety contracts. Split it into discoverable feature pages and link shared flows.
Coverage matrix
The feature index must contain a source-backed matrix.
It must use these five literal Markdown section headings; prose mentions do not substitute for them:
Use these seven labels verbatim as the coverage table headers, in this order; additional columns may follow:
| Field | Required meaning | |
|---|---|---|
| Feature | Stable human-readable capability name | |
| Runtime owner | Application/service/package/process that executes it | |
| Entry points | Routes, commands, jobs, screens, events, or symbols | |
| Source evidence | Key project-relative paths | |
| Documentation | Canonical feature page(s) | |
| Verification | Relevant tests or safe checks | |
| Status | covered, documented, verified, or excluded in a final accepted manifest; partial or unknown remains in progress and prevents a complete-coverage claim |
Also record totals for inventoried feature-bearing surfaces, mapped surfaces, documented features, partial/unknown items, unmapped items, and exclusions. Coverage acceptance requires zero unexplained unmapped surfaces. Partial or unknown items remain visible and prevent a claim of complete behavioral coverage unless their boundary is explicitly out of scope.
Every non-excluded row must link its Documentation cell to a canonical page below docs/features/. Every row must contain all seven required cells; prose elsewhere in the file does not substitute for a missing header or cell.
Required feature documentation
Each feature entry point must lead to documentation covering all applicable sections:
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-harvest/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/igovet/cortex-orch-acp/knowledge-harvest)