Engineering/AI documentation
Skills Catalog
The Skills catalog lists available capabilities agents can use or propose for research workflows.
Concepts: mcp
Implementation Summary
The Skills catalog lists available capabilities agents can use or propose for research workflows.
Frontend Surface
frontend/src/components/skills/SkillsView.tsxbackend/app/api/routes/skills.pybackend/app/core/agent_skill_tools.py
State, API, And Backend Contracts
Stores
- None recorded.
API And Backend
backend/app/api/routes/skills.py
Architecture Notes
- The feature is mounted through
frontend/src/components/skills/SkillsView.tsxand the UI navigation path recorded in the inventory. - Skill definitions remain the shared catalog, while health, usage, and proposal badges are fetched with the active project and reset on project changes.
- Skill execution and planning require an active, unpaused project before the agent is invoked, so paused projects cannot trigger LLM/skill work through the catalog surface.
- Simulation skill catalog checks keep the global
/api/skillsdefinition list unchanged, but every skill health or proposal request in the harness includes the active simulation project id. - When the simulation runner has deliberately entered maintenance mode, live skill execution checks record the backend's 409 deferral as expected test isolation instead of treating paused agent/LLM operations as product failure.
- Scenario 20 verifies registration and canonical coverage for the full skill catalog, then executes 3 skills by default. With live LLM execution available, the scenario can ask Istara to choose a coherent 3-skill plan from the registered catalog and canonical skill-coverage map; otherwise it uses seeded logical random selection. Set
ISTARA_SCENARIO20_SKILL_LIMITto the current catalog size for a deliberate full live sweep. tests/document_corpus/canonical/skill-coverage-map.jsonmaps the canonical UX research corpus to the current skill catalog so document-heavy skill tests can choose representative research material instead of inventing tiny one-off documents.- Skill execution outputs are candidate/provisional Research Spine artifacts by default. A skill may propose nuggets, facts, insights, and recommendations, but those visible artifacts remain blocked from Reports until exact source spans, governed coding, reliability/reconciliation, and a human-approved Done task make them accepted evidence.
- Skill health separates tool execution from research validity. Memento Skills receive strong positive learning only when a skill output is verified or otherwise accepted by the Research Spine; ReAct/manual skill success without verification is recorded as provisional and does not boost skill quality.
- ReasoningBank may store traces from skills, but provisional traces are process memory only and are not positive report-evidence or skill-routing proof. Model quality boosts also use project-scoped
ModelSkillStatsrows. - The
/skills/{name}/executeresponse includesartifact_state,report_allowed, andresearch_validityso UI, benchmark, and agent callers cannot treat artifact counts as accepted/reportable output. - ReAct/chat access to finding search also carries accepted/provisional/reportable status, so skills and agents that inspect prior research cannot silently consume provisional artifacts as trusted findings.
- Skill execution simulations assert the same response contract and record candidate artifact counts separately from accepted findings.
- Generated skills are prompted to propose candidate evidence and candidate synthesis only; they must not describe their own output as accepted, trusted, or reportable.
- Generated-skill execution and its bounded fallback chain (
skill.execute->skill.repair_native->skill.repair_plain->skill.repair_findings-> deterministic provisional fallback) dispatch through Pi Model Management with the active project scope. Retired classical provider settings cannot skip or reorder a model-repair stage; Pi's effective route owns provider, endpoint, and model selection for every call. - The frontmatter and manifest entries are the durable contract for agents updating this page after code changes.
- When the referenced component, store, route, agent, skill, or test behavior changes, regenerate and validate the feature documentation.
Agents, Skills, LLM, MCP, And Permissions
- Skill health APIs require explicit
project_idso one project's execution quality, failures, and pending updates are not exposed in another project. - Skill execution is project content processing and must never fall back to a global project id or run against a paused project.
- MCP-related behavior must keep access policy, audit evidence, and tool/resource exposure synchronized with the cited route or integration component.
Tests And Verification
tests/test_skills.pytests/test_skill_factory.pytests/pi_production/test_w5_skill_factory.pytests/test_project_scope_contracts.pytests/test_simulation_project_scope_contracts.pytests/simulation/lib/api-client.mjstests/simulation/scenarios/06-skill-execution.mjstests/simulation/scenarios/20-all-skills-comprehensive.mjstests/simulation/scenarios/22-architecture-evaluation.mjstests/simulation/scenarios/41-skill-creation.mjstests/document_corpus/canonical/skill-coverage-map.json
Related Features
Related Concepts
Compass Evidence
- Spec/task: CF-SPEC-53 / CF-657; CF-SPEC-68 / CF-870; CF-SPEC-104 / CF-1309; CF-SPEC-116; CF-SPEC-123 / CF-1581; CF-SPEC-129
- Inventory source:
docs/features/inventory.json
When To Update
- Update this page whenever the listed UI components, stores, routes, model behavior, permissions, or tests change.
- Regenerate the site and machine manifests with
python scripts/feature_docs.py --seed-missing --generate-site --check.