@alavida/agentpack

Compiler-driven lifecycle CLI for source-backed agent skills

developing-and-testing-skills

core
124 linesSource

Use when iterating locally on a packaged skill with agentpack author dev, the localhost workbench, repo-local materialization, and runtime testing feedback loops.

Agentpack - Developing And Testing Skills

Setup

sh
cd knowledge-base
agentpack author dev domains/value/skills/copywriting

Core Patterns

Start local dev with the workbench

sh
agentpack author dev domains/value/skills/copywriting

This links the selected skill into .claude/skills/ and .agents/skills/, records the active dev session in .agentpack/dev-session.json, and starts a localhost workbench by default.

Use CLI-only mode when you explicitly do not want the dashboard

sh
agentpack author dev --no-dashboard domains/value/skills/copywriting
sh
agentpack author unlink value-copywriting

If the previous dev process was killed badly and left stale runtime links behind:

sh
agentpack author dev cleanup

If a wrapper-managed process left a false-positive live pid in .agentpack/dev-session.json:

sh
agentpack author dev cleanup --force

If you need to remove the active root plus its recorded transitive links in one shot:

sh
agentpack author unlink value-copywriting --recursive

Common Mistakes

Wrong:

sh
agentpack author dev domains/value/skills/copywriting

Correct:

sh
agentpack author dev domains/value/skills/copywriting
# start a fresh agent session if one was already running

Already-running agent sessions may not rescan newly materialized skills.

Source: README.md

Wrong:

sh
agentpack author dev domains/value/skills/copywriting
# ignore the unresolved warning because linking succeeded

Correct:

sh
agentpack author dev domains/value/skills/copywriting
agentpack skills status

author dev can still link the selected skill while warning about unresolved packaged requirements. Use skills status to check runtime health.

Source: docs/commands.mdx

MEDIUM Using no-dashboard mode and expecting workbench actions

Wrong:

sh
agentpack author dev --no-dashboard domains/value/skills/copywriting

Correct:

sh
agentpack author dev domains/value/skills/copywriting

--no-dashboard suppresses the localhost workbench entirely.

Source: docs/introduction.mdx

References