<feed xmlns='http://www.w3.org/2005/Atom'>
<title>panto-agent.git/_selfcheck.lua, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://code.tjp.lol/panto-agent.git/atom?h=main</id>
<link rel='self' href='https://code.tjp.lol/panto-agent.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/panto-agent.git/'/>
<updated>2026-07-03T16:53:10Z</updated>
<entry>
<title>Initial changes: agent.rules and agent.skill extensions</title>
<updated>2026-07-03T16:53:10Z</updated>
<author>
<name>t</name>
<email>t@tjp.lol</email>
</author>
<published>2026-07-03T15:49:13Z</published>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/panto-agent.git/commit/?id=94568d9f70b12fa348040a7998dac7b0808b0258'/>
<id>urn:sha1:94568d9f70b12fa348040a7998dac7b0808b0258</id>
<content type='text'>
panto-agent is a luarocks rock providing the agent.* extension suite
for pantograph's panto CLI:

- agent.rules: injects AGENTS.md/CLAUDE.md (AGENTS.md wins, never both)
  from the base agent dir, user config dir, and project root into the
  system prompt at session start. Also hooks std.read tool results to
  append rules files found between a read location and the project
  root, each injected at most once per session.

- agent.skill: discovers Agent Skills (SKILL.md with YAML frontmatter)
  across data/config/home/project skill dirs with later dirs shadowing
  earlier ones, and exposes them via an agent.skill tool whose enum and
  description are built from the surviving skills. The tool returns the
  skill's instructions with frontmatter stripped. Not registered when
  no skills are found.

Includes a rockspec, README, and a panto-runnable self-check
(_selfcheck.lua, underscore-prefixed so panto's directory scan skips
it). Sources live under panto-agent/ so require works the same
installed or from a checkout.
</content>
</entry>
</feed>
