Skip to content

Add the agent-hygiene skill - #43

Merged
TroyHernandez merged 3 commits into
mainfrom
agent-hygiene-skill
Sep 8, 2026
Merged

TroyHernandez merged 3 commits into
mainfrom
agent-hygiene-skill

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

Summary

  • New package skill inst/skills/agent-hygiene with scripts/agent-hygiene.R: audit (findings for missing package links, dangling symlinks, agent roots not pointing at the hub, corteza instruction roots, stale Claude plugin caches, missing globals, identical-twin instruction files), link (places package-skill symlinks in the hub and the hub into each agent root, with a duplicate-name preflight and dangling-link repair), and list [--html path].
  • Manifest lives at ~/.config/agents/skills.dcf (Hub, Packages, AgentRoots); references/layout.md documents the hub shape and why each agent needs a symlinked root rather than per-agent copies.
  • Version bump to 0.7.2.6 in its own commit.

Test plan

  • tinytest::run_test_file("inst/tinytest/test_agent_hygiene.R"): 54 asserts pass.
  • Full installed suite: 481 ok.

A package skill plus scripts/agent-hygiene.R that audits, links, and
lists the personal skill hub: package skills declared in
~/.config/agents/skills.dcf are symlinked into the hub, the hub is
symlinked into each agent's skill root, and instruction files are
checked for missing globals and identical twins. `audit` reports
findings, `link` repairs symlinks with a duplicate-name preflight, and
`list` prints a table or writes an HTML page. 54 asserts cover the
manifest parsing, linking, and findings.
@TroyHernandez
TroyHernandez merged commit d16a33d into main Sep 8, 2026
2 checks passed
@TroyHernandez
TroyHernandez deleted the agent-hygiene-skill branch September 8, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant