Engineering/AI documentation

Skills Catalog

The Skills catalog lists available capabilities agents can use or propose for research workflows.

documented
UI Path
Skills > Catalog
Component
SkillsView
Source Refs
3
Tests
0

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.tsx
  • backend/app/api/routes/skills.py
  • backend/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.tsx and 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/skills definition 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_LIMIT to the current catalog size for a deliberate full live sweep.
  • tests/document_corpus/canonical/skill-coverage-map.json maps 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 ModelSkillStats rows.
  • The /skills/{name}/execute response includes artifact_state, report_allowed, and research_validity so 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_id so 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.py
  • tests/test_skill_factory.py
  • tests/pi_production/test_w5_skill_factory.py
  • tests/test_project_scope_contracts.py
  • tests/test_simulation_project_scope_contracts.py
  • tests/simulation/lib/api-client.mjs
  • tests/simulation/scenarios/06-skill-execution.mjs
  • tests/simulation/scenarios/20-all-skills-comprehensive.mjs
  • tests/simulation/scenarios/22-architecture-evaluation.mjs
  • tests/simulation/scenarios/41-skill-creation.mjs
  • tests/document_corpus/canonical/skill-coverage-map.json

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.