Documentation
¶
Overview ¶
Package skillagent is the agents Physa's skill is set up for: where each keeps Physa's stub and session hook, and whether it is found on this account, by its config directory or its binary on PATH. It only reads.
The paths, with home the person's home directory:
- Claude Code: stub claude.SkillFile(home, "physa"), hook claude.SettingsFile(home); found by home/.claude or `claude`. CLAUDE_CONFIG_DIR is not followed, as the adapter does not.
- Codex: config directory $CODEX_HOME when set, else home/.codex; stub home/.agents/skills/physa/SKILL.md, hook <config directory>/hooks.json; found by the directory or `codex`.
- OpenCode: config directory $XDG_CONFIG_HOME/opencode when XDG_CONFIG_HOME is set and absolute, else home/.config/opencode; the shared stub, no hook; found by the directory or `opencode`.
- Pi: config directory $PI_CODING_AGENT_DIR when set, else home/.pi/agent; the shared stub, no hook; found by the directory or `pi`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
Name string // as --json names it
Label string // as people read it
Stub string // the SKILL.md path
Hook string // the hook file path, empty when Physa installs no session hook
Found bool
Shared bool
}
Agent is one agent Physa's skill is set up for.