Describe the bug
The official docs describe three origins for Skill generation (experience, source, usage) and provide both CLI and HTTP API paths for all three. However, when using Codex conversation to generate a Skill with origin=source, the Agent reports that mcp__powercontext__generate_skill does not exist in the MCP tool registry. The only available generation path (create_dream_run / Dream Run) only accepts Experience Artifact references and does not support origin=source.
Steps to reproduce
- Start Server with a Generation model configured.
- Open a new Codex session, ensure PowerContext hooks are trusted.
- Have a conversation that produces a Source (e.g., describe a deployment procedure).
- Ask Codex to generate a Skill from the Source directly:
plaintext
- Generate a Skill candidate from the deployment Source we just discussed, using origin=source, skip Experience.
- Observe the error: Codex reports mcp__powercontext__generate_skill is not available in the current tool registry.
Expected behavior
Codex MCP should expose a generate_skill tool (or equivalent) that supports all three origins documented in the official docs:
- origin=experience — requires approved Experience Revision(s)
- origin=source — requires precise Source reference(s), no Artifact references
- origin=usage — requires target Skill Revision + usage Source
Actual behavior
- mcp__powercontext__generate_skill is not available in the Codex MCP tool registry.
- create_dream_run (Dream Run) only accepts Experience Artifact references; it cannot be used for origin=source.
Environment
No response
Are you willing to submit a PR to fix this bug?
Describe the bug
The official docs describe three origins for Skill generation (experience, source, usage) and provide both CLI and HTTP API paths for all three. However, when using Codex conversation to generate a Skill with origin=source, the Agent reports that mcp__powercontext__generate_skill does not exist in the MCP tool registry. The only available generation path (create_dream_run / Dream Run) only accepts Experience Artifact references and does not support origin=source.
Steps to reproduce
plaintext
Expected behavior
Codex MCP should expose a generate_skill tool (or equivalent) that supports all three origins documented in the official docs:
Actual behavior
Environment
No response
Are you willing to submit a PR to fix this bug?