A skill, AGENTS.md and a plugin, so agents can use deed - #29
Merged
Merged
Conversation
skills/deed/SKILL.md teaches an agent deed's commands, recipes that were each run against the binary, the output and exit-code contract, and two rules: publishing is public and permanent, so ask first, and keep a secret key in NOSTR_SECRET_KEY. It installs with npx skills add zig-nostr/deed, and .claude-plugin makes it a Claude Code plugin. AGENTS.md is for changing deed rather than using it. The README says how to add them. Closes #28.
The agent skill and plugin, and req and fetch bounded against a relay that pings and has stopped reading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28.
skills/deed/SKILL.md, in the standard skill format: when to reach for deed, install, the rules an agent must follow (publishing is public and permanent, so ask the user first; the secret key stays inNOSTR_SECRET_KEY;key publictakes a secret key), the stdout/stderr/exit-code contract, and recipes for keys, signing, verifying, publishing with a record of what went out, querying and keeping events, offline queries, NIP-19 and NIP-44. Every offline recipe was run against the binary before it went in..claude-plugin/:marketplace.jsonandplugin.json, so Claude Code installs it with/plugin marketplace add zig-nostr/deedand/plugin install deed@deed.AGENTS.md, for changing deed: build, test, layout and the conventions that are easy to break (the record model, exit codes, untrusted relay text, the dial allocator in tests, cached test runs).npx skills add zig-nostr/deed.The last commit bumps the version to 0.3.2, which also carries #27 (a relay that pings and has stopped reading no longer holds
reqorfetch).