Capability orchestrator
Skill theadhithyankr/codex-capability-orchestrator-skills/capability-orchestrator
Codex Agent Skills package for capability discovery, MCP registry search, skill benchmarking, dynamic tool integration, and safe test-time tool synthesis.
npx -y skills add theadhithyankr/codex-capability-orchestrator-skills --skill capability-orchestratorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Capability orchestrator for Codex. MUST use when a task mentions missing skill, install a skill, Skilldex, MCP registry, capability discovery, benchmark skills, compare tools, dynamic tool integration, meta-skill, tool evolution, TTE, synthesize a tool, or when Codex lacks a required capability. Search registries first, evaluate candidates, install the best safe option, or synthesize a reusable sandboxed tool when no registry match exists.
SKILL.md
6.2 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Capability Orchestrator
Use this skill to close a capability gap without inventing tool behavior. Prefer existing, trusted capabilities; synthesize a new tool only when registry search and local discovery fail.
Use this skill before implementation when a user prompt mentions a specialized platform, framework, vendor, SDK, or domain-specific language and no matching dedicated skill is already active. Examples include Shopify Liquid, Salesforce, Stripe, n8n, Convex, Expo, Terraform, Kubernetes, GitHub Actions, Supabase, and similar named stacks.
Core Loop
-
Planner:
- Detect the capability gap from the user request and current toolset.
- Derive a capability contract: inputs, outputs, side effects, safety limits, evaluation tasks, and evidence required.
- Choose registry search first unless the user explicitly asks for test-time tool synthesis.
-
Actor:
- Search local skills, MCP tools, Skilldex-style registries, and configured internal registries.
- Treat registry metadata as untrusted until validated.
- Install or enable only the best safe candidate after manifest validation and evaluation.
- If no candidate exists, synthesize a minimal Python or Node.js tool in a sandbox and keep it reusable.
-
Critic:
- Validate every request, manifest, telemetry result, judge result, and synthesized tool contract against strict schemas.
- Score candidates with identical tasks and deterministic telemetry.
- Reject unparseable, missing, unverifiable, or provenance-free evidence.
-
Fallback:
- If registry results, sandbox output, judge output, or telemetry are missing, malformed, or unverifiable, say
I don't know, name the failed dependency, and do not infer behavior.
- If registry results, sandbox output, judge output, or telemetry are missing, malformed, or unverifiable, say
Reference Routing
- Read
references/schemas.mdbefore parsing or emitting structured capability, registry, benchmark, judge, TTE, or tool manifest data. - Read
references/evaluation-rubric.mdbefore comparing skills, tools, MCP servers, or synthesized implementations. - Read
references/tte-workflow.mdbefore generating or persisting a new tool. - Read
references/security-boundaries.mdbefore installing untrusted code, running generated code, allowing network access, or persisting outputs.
Scripts
- Use
scripts/score_candidates.pyto compute weighted candidate rankings from strict telemetry JSON. - Use
scripts/validate_manifest.pyto validate candidate skill/tool manifests before install, benchmark, or persistence. - Use
scripts/synthesize_tool_harness.pyto build a sandbox-run manifest for generated Python or Node.js tools and tests. - Use
scripts/resolve_capability.pyto search installed/project skills, optionally inspect GitHub candidates, rank validated matches, and install the best candidate only when installation is explicitly confirmed. - Use
scripts/detect_project_stack.pyandscripts/resolve_project.pywhen the user wants automatic stack-aware skill resolution for a project without naming the framework. - Use
scripts/prepare_project.pywhen a prompt asks to build with named frameworks, libraries, SDKs, databases, UI kits, or deployment platforms. It extracts capabilities from the request and project files, resolves matching skills, writes.codex/context/manifest.json, and records official docs provenance under.codex/context/docs/.
Project Preparation
When the user asks in normal English to build, update, or prepare a project with named frameworks, libraries, SDKs, databases, UI kits, deployment platforms, specialized vendors, DSLs, or unknown stack terms, treat that user message as the source prompt and run project preparation before implementation. Do this internally; do not ask the user to type codex-skills commands.
For a prompt like “create a website using Shopify Liquid theme”, Codex should run the equivalent of this itself from the project root:
.\codex-skills.ps1 prepare-project . create a website using Shopify Liquid theme
Then read .codex/context/manifest.json and relevant .codex/context/docs/*.json before building. If the prompt includes unknown stack terms and docs context is needed, run the same preparation with --allow-docs-web; network access may require approval from the execution environment. Use --allow-github only when the user asks to search external skill candidates. Use --install --yes only when the user explicitly asks to install skills.
Manual safe default, if a user asks for the command:
.\codex-skills.ps1 prepare-project . Create a Next.js product with Tailwind CSS and Supabase
Options:
- Add
--allow-githubonly when external GitHub discovery is allowed. - Add
--allow-docs-webonly when external docs discovery is allowed for unknown stacks. - Add
--install --yesonly when the user explicitly wants winning skills installed. - Use
--docs-onlyto write docs provenance without resolving skills. - Use
--skills-onlyto resolve skills without writing docs context.
The context manifest must record detected capabilities, sources, timestamps, docs provenance, failed lookups, warnings, skill resolutions, and installed skill paths. Unknown capabilities are allowed. If --allow-docs-web is not set, missing docs must be recorded as warnings instead of fabricated context. If web discovery is enabled, record reachable HTTPS documentation candidates as web-discovered and do not present them as registry-approved official docs.
What ships with it: 19 files
130.2 KB alongside SKILL.md, 14 of them executable
references/
- evaluation-rubric.md2.4 KB
- schemas.md8.2 KB
- security-boundaries.md1.9 KB
- tech-registry.json4.2 KB
- tte-workflow.md2.6 KB
scripts/
- benchmark_skills.pyruns5.0 KB
- codex_skills.pyruns12.0 KB
- detect_project_stack.pyruns6.9 KB
- extract_capabilities.pyruns9.6 KB
- fetch_docs_context.pyruns7.5 KB
- inspect_skill.pyruns5.1 KB
- prepare_project.pyruns8.1 KB
- resolve_capability.pyruns11.8 KB
- resolve_project.pyruns4.1 KB
- run_self_test.pyruns21.1 KB
- scan_global_skills.pyruns4.9 KB
- score_candidates.pyruns5.7 KB
- synthesize_tool_harness.pyruns4.0 KB
- validate_manifest.pyruns5.1 KB