{
  "name": "TokRepo",
  "description": "Open registry for reusable AI assets: skills, prompts, MCP configs, scripts, workflows, and agent knowledge.",
  "url": "https://tokrepo.com",
  "llms_txt": "https://tokrepo.com/llms.txt",
  "well_known_agents_txt": "https://tokrepo.com/.well-known/agents.txt",
  "manifest": "https://tokrepo.com/.well-known/tokrepo.json",
  "portable_agent_manifest": "https://tokrepo.com/.well-known/agent.json",
  "a2a_agent_card": "https://tokrepo.com/.well-known/agent-card.json",
  "tool_catalog": "https://tokrepo.com/.well-known/tool-catalog.json",
  "trust_manifest": "https://tokrepo.com/.well-known/tokrepo-trust.json",
  "default_policy_pack": "https://tokrepo.com/policy-packs/default-agent-policy.json",
  "evidence_bundle_schema": "https://tokrepo.com/schemas/agent-evidence-bundle.schema.json",
  "handoff_package_schema": "https://tokrepo.com/schemas/handoff-package.schema.json",
  "ecosystem_distribution": "https://tokrepo.com/agent-ecosystem.json",
  "task_economy_contract": "https://tokrepo.com/agent-task-economy.json",
  "agents_txt": "https://tokrepo.com/agents.txt",
  "agent_instructions": "https://tokrepo.com/agent-instructions/tokrepo.md",
  "mcp": {
    "server_manifest": "https://tokrepo.com/.well-known/mcp/server.json",
    "hosted_endpoint": "https://tokrepo.com/mcp",
    "hosted_transport": "streamable_http_json_rpc",
    "package": "tokrepo-mcp-server",
    "command": "npx -y tokrepo-mcp-server",
    "primary_tool": "tokrepo_resolve_capability",
    "trust_tool": "tokrepo_verify",
    "planning_tool": "tokrepo_install_plan",
    "handoff_tool": "tokrepo_handoff_plan",
    "discovery_tool": "tokrepo_discover",
    "harvest_tool": "tokrepo_harvest"
  },
  "tools": [
    {
      "name": "tokrepo_resolve_capability",
      "purpose": "Resolve planning-time capability gaps into a selected reusable asset with verification evidence and install plan."
    },
    {
      "name": "tokrepo_discover",
      "purpose": "Find reusable AI assets during planning before rebuilding a one-off local tool."
    },
    {
      "name": "tokrepo_detail",
      "purpose": "Read a selected asset contract, files, trust metadata, and install hints."
    },
    {
      "name": "tokrepo_install_plan",
      "purpose": "Create a dry-run, policy-aware install plan with evidence_bundle, SBOM-lite, signature_evidence, rollback, and post_verify before any writes."
    },
    {
      "name": "tokrepo_verify",
      "purpose": "Verify hashes, permission envelope, policy, trust_score_v2, evidence_bundle, SBOM-lite, signature_evidence, blockers, and warnings before activation."
    },
    {
      "name": "tokrepo_push",
      "purpose": "Publish reusable assets only after explicit user confirmation."
    },
    {
      "name": "tokrepo_handoff_plan",
      "purpose": "Return a read-only post-task packaging plan with quality_gate, package_manifest, SBOM-lite, and provenance for reusable local work before any push."
    },
    {
      "name": "tokrepo_installed",
      "purpose": "Inspect local TokRepo-managed installs and local-change status."
    },
    {
      "name": "tokrepo_update",
      "purpose": "Plan or apply safe updates for installed assets."
    },
    {
      "name": "tokrepo_uninstall",
      "purpose": "Plan or remove managed assets with local-change protection."
    },
    {
      "name": "tokrepo_rollback",
      "purpose": "Plan or roll back a previous TokRepo install session."
    },
    {
      "name": "tokrepo_harvest",
      "purpose": "Generate private-by-default package drafts for reusable local work after a task; never publishes automatically."
    }
  ],
  "cli": {
    "package": "tokrepo",
    "install": "npx -y tokrepo@latest",
    "bootstrap": "tokrepo init-agent --target all",
    "planning_check": "tokrepo agent-check \"<task>\" --json",
    "verify": "tokrepo verify <uuid> --target codex --json",
    "evidence_bundle": "tokrepo verify <uuid> --target codex --json | jq .evidence_bundle",
    "audit": "tokrepo audit <uuid> --target codex --json",
    "handoff": "tokrepo agent-handoff --json",
    "handoff_quality_gate": "tokrepo agent-handoff --json | jq .handoff_quality_gate",
    "installed": "tokrepo installed --target codex --json",
    "update_plan": "tokrepo sync-installed --target codex --dry-run --json",
    "uninstall_plan": "tokrepo uninstall <uuid> --target codex --dry-run --json",
    "rollback_plan": "tokrepo rollback --last --target codex --dry-run --json",
    "resolve": "tokrepo resolve \"<task>\" --target codex --json",
    "harvest": "tokrepo harvest --changed --json"
  },
  "skills": [
    {
      "id": "tokrepo_discovery",
      "name": "TokRepo Discovery",
      "description": "Find existing AI assets before inventing a local one-off tool.",
      "examples": [
        "Find a code review skill for this repository",
        "Find MCP configs for a database migration task",
        "After this task, suggest reusable files to push privately"
      ]
    }
  ],
  "project_memory_targets": [
    "AGENTS.md",
    "CLAUDE.md",
    "GEMINI.md",
    ".cursor/rules/tokrepo.mdc",
    ".github/copilot-instructions.md",
    ".github/instructions/tokrepo.instructions.md",
    ".clinerules/tokrepo.md",
    ".windsurf/rules/tokrepo.md",
    ".roo/rules/tokrepo.md",
    ".openhands/microagents/repo.md",
    "CONVENTIONS.md",
    ".mcp.json",
    ".tokrepo/agent.json"
  ],
  "capability_resolution_schema": "https://tokrepo.com/schemas/capability-resolution.schema.json",
  "harvest_report_schema": "https://tokrepo.com/schemas/harvest-report.schema.json"
}
