Expand description
Caller-supplied description of a hook (or MCP server, or skill) to install.
Structs§
- Hook
Runtime Options - Optional execution configuration for command hooks.
- Hook
Spec - Everything an
Integrationneeds to install a hook. - Hook
Spec Builder - Builder for
HookSpec. - Instruction
Spec - Caller-supplied description of a standalone instruction file to install.
- Instruction
Spec Builder - Builder for
InstructionSpec. - McpSpec
- Caller-supplied description of an MCP server to register with a harness.
- McpSpec
Builder - Builder for
McpSpec. - Rules
Block - Markdown content to inject into the harness’s memory/rules file, fenced by
HTML comments keyed on the
HookSpec::tag. - Skill
Asset - One supporting file inside a skill directory.
- Skill
Frontmatter - YAML frontmatter prepended to
SKILL.md. - Skill
Spec - Caller-supplied description of an agent skill to install.
- Skill
Spec Builder - Builder for
SkillSpec.
Enums§
- Event
- Lifecycle event to attach to. Each integration maps this to its harness’s
own event name (e.g.,
PreToolUseon Claude Code,BeforeToolon Gemini,tool.execute.beforeon OpenCode). - Hook
Command - Hook command representation.
- Instruction
Placement - How an instruction file should be placed relative to the agent’s config.
- Matcher
- Which tool calls a hook should match.
- McpTransport
- How an MCP server is reached.
- Script
Template - Optional script body for harnesses that need a shell script or TS plugin.
- Secret
Policy - Policy for env values that look secret-bearing in project-local MCP config.
- Skill
Context - Claude skill context mode.
- Skill
Effort - Claude skill effort override.
- Skill
Shell - Claude skill shell for inline shell snippets.