Skip to main content

Module agent_skill

Module agent_skill 

Source
Expand description

Ungated agent-skill artifact generation.

This surface emits descriptors for the tool’s declared agent capabilities in formats consumable by LLM coding agents (Claude Code, OpenAI Codex CLI). Unlike the redaction-oriented surface in crate::agent, this surface is always available — installing skill artifacts is a human-initiated action, not a supervised agent inspection path.

Enums§

EmitDirError
Errors that can occur when resolving the skill artifact destination directory.

Functions§

render_describe
Render agent describe for a single capability.
render_list
Render the agent list output.
render_skill_md
Render a Claude/Codex-compatible SKILL.md body for one capability.
resolve_emit_dir
Resolve the directory under which <skill>/SKILL.md artifacts will be written.
run_agent_subcommand
Dispatch an AgentSubcommand for the given tool.
skill_name
Construct the canonical skill artifact name for a capability.