Expand description
Claude Code project compatibility helpers.
Claude stores named subagent definitions as Markdown files under
<project>/.claude/agents/. The body is the child’s system prompt and a
small YAML-like frontmatter block carries its name, tool allowlist, and
model pin. These helpers import that durable project state without
starting a child or otherwise executing it.
Structs§
- Claude
Compatibility Snapshot - Claude-specific project state installed into a resumed agent config.
- Claude
Project Agent - One imported Claude project-agent file.
Functions§
- apply_
resume_ compatibility - Install Claude Code’s non-executing compatibility state into
config. - load_
project_ agents - Discover and parse every
<cwd>/.claude/agents/*.mddefinition. - parse_
project_ agent - Parse one Claude project-agent Markdown definition.