Portable Agent Skill Package & Progressive Disclosure #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Package the portable agent skill definition (
skills/life/SKILL.md) conforming to the Agent Skills open standard and compatible with both Oh My Pi (OMP) and Hermes agent execution environments. The skill provides clear operational instructions, read-first guidelines, explicit write consent contracts, and progressive disclosure references (commands.md,errors.md) without embedding credentials, hardcoded paths, or backend calendar logic.Background & Technical Rationale
The Agent Skills Contract
Automated coding and task agents (such as OMP and Hermes) interact with underlying services most reliably through compact, structured CLI tools emitting machine-readable JSON rather than parsing human-formatted terminal text or terminal screen renders.
However, an agent requires operational instructions to understand:
life --json).--input -) to pass structured payloads (avoiding secret and PII exposure in shell argument vectors like/bin/ps), preserving optimistic concurrency tokens (--etag), and tagging mutations with stable idempotency keys (--operation-id).SKILL.mdconcise so it easily fits within the agent's system prompt / context window, while delegating command tables, payloads, and error catalogs to bundled reference files.Security and Portability Invariants
Exact Technical References & Specifications
1. Fenced Portable
SKILL.mdSpecificationFrom
docs/technical/agent-skill.md(lines 15–72):2. Progressive Disclosure & Packaging Contract
From
docs/technical/agent-skill.md(lines 5–10, 74–82):3. Verification Scenario I10 Contract
From
docs/technical/verification.md(lines 124, 156):Formal Citations
docs/technical/agent-skill.md:docs/technical/verification.md:What to Build
1. Skill Root Manifest (
skills/life/SKILL.md)Create the portable skill root conforming to the Agent Skills open standard:
--jsonoutput, parsing the envelope.life agenda,life tasks list,life item get,life resolve.--input -stdin protocol, quoted--etag,--operation-id, prohibition on assuming completion from elapsed work blocks.proposal_digest.2. Progressive Disclosure Reference Files
Create modular reference files in
skills/life/references/:skills/life/references/commands.md:docs/technical/cli-api.md.task add,task update,task complete,event add,event update,capture,plan,replan, andproposal apply.skills/life/references/errors.md:etag_conflict,approval_required,clarification_required,operation_unknown,partial_apply, etc.).life operation get <OPERATION_ID> --json.3. Automated Validation & Packaging Test
Create a unit/integration test in
tests/skill_validation.rs:skills/life/SKILL.mdexists and contains valid YAML frontmatter.references/exist and are cleanly linkable.Acceptance Criteria
Observable Assertions & Verification
skills/life/SKILL.mdhas valid Agent Skills frontmatter containingname,description,compatibility, and string-valuedmetadatafields (interface: "life-cli-v1",authorization: "explicit-user-approval").--input -(stdin JSON) and never in shell argument vectors.--etagand a stable--operation-idfor existing item mutations.proposal_digest.skills/life/references/commands.mdandskills/life/references/errors.mdprovide complete CLI envelopes and recovery procedures without bloating the mainSKILL.md.tests/skill_validation.rs) passes and verifies specification conformance.Notes
exit_code_formapping, so the skill cannot silently drift from the binary.Blocked by
Issue #031: Portable Agent Skill Package & Progressive Disclosureto Portable Agent Skill Package & Progressive Disclosure