[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JDZ1752TAERN1XTPWTZNC":3,"skill-same:01M75JDZ1752TAERN1XTPWTZNC":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M75JDZ1752TAERN1XTPWTZNC","agentpin",null,"javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjaschadub\u002Fagentpin\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# AgentPin Development Skills Guide\n\n**Purpose**: This guide helps AI assistants work with AgentPin for domain-anchored cryptographic agent identity verification.\n\n**For Full Documentation**: See the [README](https:\u002F\u002Fgithub.com\u002FThirdKeyAI\u002Fagentpin\u002Fblob\u002Fmain\u002FREADME.md) and [Technical Specification](https:\u002F\u002Fgithub.com\u002FThirdKeyAI\u002Fagentpin\u002Fblob\u002Fmain\u002FAGENTPIN_TECHNICAL_SPECIFICATION.md).\n\n## What AgentPin Does\n\nAgentPin is a domain-anchored cryptographic identity protocol for AI agents. It enables organizations to publish verifiable identity documents for their agents, issue short-lived JWT credentials, and verify agent identity through a multi-step protocol including TOFU key pinning, revocation checking, and delegation chains.\n\n**Part of the ThirdKey trust stack**: SchemaPin (tool integrity) → AgentPin (agent identity) → Symbiont (runtime)\n\n---\n\n## Architecture\n\n```\nOrganization                         Verifying Party\n────────────                         ───────────────\n1. Generate ECDSA P-256 keypair\n2. Publish agent identity at          3. Discover identity from\n   \u002F.well-known\u002Fagent-identity.json      \u002F.well-known\u002Fagent-identity.json\n4. Issue JWT credential               5. Verify credential (12-step flow)\n   (ES256 signed, short-lived)           - JWT parsing & ES256 verification\n                                         - Domain binding check\n                                         - TOFU key pinning\n                                         - Revocation checking\n                                         - Capability validation\n                                         - Delegation chain verification\n```\n\n---\n\n## Project Structure\n\n```\ncrates\u002F\n├── agentpin\u002F          Core library (no mandatory HTTP dep)\n├── agentpin-cli\u002F      CLI binary (keygen, issue, verify, bundle)\n└── agentpin-server\u002F   Axum server for .well-known endpoints\n```\n\n---\n\n## Quick Start by Language\n\n### Rust (CLI)\n\n```bash\n# Generate keys\ncargo run -p agentpin-cli -- keygen \\\n    --output-dir .\u002Fkeys --agent-name \"my-agent\"\n\n# Issue a credential (ES256 JWT, 1-hour TTL)\ncargo run -p agentpin-cli -- issue \\\n    --key .\u002Fkeys\u002Fmy-agent.private.pem \\\n    --issuer \"https:\u002F\u002Fexample.com\" \\\n    --agent-id \"my-agent\" \\\n    --capabilities read,write --ttl 3600\n\n# Verify offline\ncargo run -p agentpin-cli -- verify \\\n    --credential .\u002Fcredential.jwt \\\n    --discovery .\u002Fagent-identity.json\n\n# Verify online (fetches from .well-known)\ncargo run -p agentpin-cli -- verify \\\n    --credential .\u002Fcredential.jwt --domain example.com\n\n# Create trust bundle for air-gapped environments\ncargo run -p agentpin-cli -- bundle \\\n    --discovery .\u002Fagent-identity.json \\\n    --revocation .\u002Frevocations.json --output .\u002Fbundle.json\n```\n\n### Rust (Library)\n\n```rust\nuse agentpin::{\n    crypto,\n    credential::CredentialBuilder,\n    verification::verify_credential,\n    pinning::KeyPinStore,\n};\n\nlet (private_key, public_key) = crypto::generate_keypair()?;\n\nlet credential = CredentialBuilder::new()\n    .issuer(\"https:\u002F\u002Fexample.com\")\n    .agent_id(\"my-agent\")\n    .capability(\"read\")\n    .capability(\"write\")\n    .ttl_secs(3600)\n    .sign(&private_key)?;\n\nlet result = verify_credential(&credential, &discovery_doc, &pin_store)?;\n```\n\n### JavaScript\n\n```bash\nnpm install agentpin\n```\n\n```javascript\nimport {\n    generateKeypair, issueCredential, verifyCredential,\n    KeyPinStore\n} from 'agentpin';\n\n\u002F\u002F Generate ECDSA P-256 keypair\nconst { privateKey, publicKey } = await generateKeypair();\n\n\u002F\u002F Issue a credential\nconst credential = await issueCredential(privateKey, {\n    issuer: 'https:\u002F\u002Fexample.com',\n    agentId: 'my-agent',\n    capabilities: ['read', 'write'],\n    ttlSecs: 3600,\n});\n\n\u002F\u002F Verify\nconst pinStore = new KeyPinStore();\nconst result = await verifyCredential(credential, discoveryDoc, pinStore);\n```\n\n### Python\n\n```bash\npip install agentpin\n```\n\n```python\nfrom agentpin.crypto import generate_keypair\nfrom agentpin.credential import issue_credential\nfrom agentpin.verification import verify_credential\nfrom agentpin.pinning import KeyPinStore\n\nprivate_key, public_key = generate_keypair()\n\ncredential = issue_credential(\n    private_key,\n    issuer=\"https:\u002F\u002Fexample.com\",\n    agent_id=\"my-agent\",\n    capabilities=[\"read\", \"write\"],\n    ttl_secs=3600,\n)\n\npin_store = KeyPinStore()\nresult = verify_credential(credential, discovery_doc, pin_store)\n```\n\n### Serve .well-known Endpoints\n\n```bash\ncargo run -p agentpin-server -- \\\n    --identity .\u002Fagent-identity.json \\\n    --revocation .\u002Frevocations.json \\\n    --port 3000\n```\n\nServes:\n- `GET \u002F.well-known\u002Fagent-identity.json` (Cache-Control: max-age=3600)\n- `GET \u002F.well-known\u002Fagent-identity-revocations.json` (Cache-Control: max-age=300)\n- `GET \u002Fhealth`\n\n---\n\n## Core Library API\n\n### Key Modules\n\n| Module | Purpose |\n|--------|---------|\n| `crypto` | ECDSA P-256 signing\u002Fverification (no external JWT crate) |\n| `types` | Core data structures (agents, credentials, capabilities) |\n| `credential` | JWT issuance and parsing |\n| `discovery` | Publishing and resolving agent identity documents |\n| `verification` | 12-step credential validation flow |\n| `revocation` | Checking revoked credentials\u002Fagents\u002Fkeys |\n| `pinning` | TOFU key pinning with JWK thumbprints |\n| `delegation` | Delegation chain validation |\n| `mutual` | Challenge-response mutual authentication (128-bit nonces) |\n| `jwk` | JWK handling and thumbprint computation |\n| `resolver` | Pluggable discovery resolution |\n\n### Language API Reference\n\n| Operation | Rust | JavaScript | Python |\n|-----------|------|------------|--------|\n| Generate keys | `crypto::generate_keypair()` | `generateKeypair()` | `generate_keypair()` |\n| Issue credential | `CredentialBuilder::new().sign()` | `issueCredential()` | `issue_credential()` |\n| Verify credential | `verify_credential()` | `verifyCredential()` | `verify_credential()` |\n| Key pinning | `KeyPinStore` | `KeyPinStore` | `KeyPinStore` |\n| Trust bundle | `TrustBundle::from_json()` | `TrustBundle.fromJson()` | `TrustBundle.from_json()` |\n| Mutual auth | `MutualAuth::challenge()` | `createChallenge()` | `create_challenge()` |\n\n### Feature Flags\n\n| Feature | Purpose |\n|---------|---------|\n| `fetch` | Enables HTTP via reqwest for online discovery |\n| (default) | Core library with no HTTP dependency |\n\n---\n\n## Key Concepts\n\n### ES256 Only\n\nAgentPin exclusively uses ES256 (ECDSA P-256). All other algorithms are rejected. This is enforced inline without an external JWT crate.\n\n### 12-Step Verification\n\nThe credential verification flow includes:\n1. JWT structure parsing\n2. Header algorithm validation (ES256 only)\n3. Signature verification\n4. Issuer domain extraction\n5. Discovery document resolution\n6. Domain binding verification\n7. Key matching (issuer key vs discovery)\n8. TOFU key pinning check\n9. Expiration validation\n10. Revocation checking\n11. Capability validation\n12. Delegation chain verification (if present)\n\n### TOFU Key Pinning\n\nOn first credential verification for a domain, the agent's public key (JWK thumbprint) is pinned. Subsequent verifications reject different keys for the same domain — detecting key substitution attacks.\n\n### Delegation Chains\n\nAgents can delegate capabilities to sub-agents. The delegation chain is validated to ensure:\n- Each link is signed by the delegator\n- Capabilities only narrow (never widen) down the chain\n- Chain depth limits are respected\n\n### Mutual Authentication\n\nChallenge-response protocol with 128-bit nonces for bidirectional agent identity verification.\n\n---\n\n## Discovery Document Format\n\nPublished at `\u002F.well-known\u002Fagent-identity.json`:\n\n```json\n{\n    \"schema_version\": \"0.2\",\n    \"domain\": \"example.com\",\n    \"agents\": [\n        {\n            \"agent_id\": \"my-agent\",\n            \"display_name\": \"My Agent\",\n            \"description\": \"A helpful agent\",\n            \"capabilities\": [\"read\", \"write\"],\n            \"public_key_jwk\": { ... },\n            \"constraints\": {\n                \"max_ttl_secs\": 86400,\n                \"allowed_scopes\": [\"api\"]\n            }\n        }\n    ],\n    \"revocation_endpoint\": \"https:\u002F\u002Fexample.com\u002F.well-known\u002Fagent-identity-revocations.json\",\n    \"directory_listing\": true\n}\n```\n\n---\n\n## v0.2.0 Features\n\n### Trust Bundles (Offline \u002F Air-Gapped)\n\nPre-package discovery + revocation data for environments without internet:\n\n```python\nfrom agentpin.bundle import TrustBundle\n\nbundle = TrustBundle.from_json(bundle_json_str)\ndiscovery = bundle.find_discovery(\"example.com\")\nrevocation = bundle.find_revocation(\"example.com\")\n```\n\n### Pluggable Discovery Resolvers\n\n```python\nfrom agentpin.discovery import (\n    WellKnownResolver,    # HTTP .well-known lookups\n    DnsTxtResolver,       # DNS TXT record lookups\n    ManualResolver,       # Pre-configured discovery data\n)\n```\n\n### Directory Listing\n\nDomains can advertise all their agents via `\"directory_listing\": true` in the discovery document. Verifiers can enumerate available agents before issuing challenges.\n\n---\n\n## Development\n\n### Build and Test\n\n```bash\n# Build all crates\ncargo build --workspace\n\n# Run all tests\ncargo test --workspace\n\n# Lint\ncargo clippy --workspace\n\n# Format check\ncargo fmt --check\n```\n\n### Conventions\n\n- Rust edition 2021, MSRV 1.70\n- `cargo clippy --workspace` must pass with zero warnings\n- `cargo fmt --check` must pass\n- Inline tests in source files (`#[cfg(test)] mod tests`)\n- ES256 only — reject all other algorithms\n- Feature-gated HTTP: `fetch` feature enables reqwest\n\n---\n\n## Pro Tips for AI Assistants\n\n1. **ES256 only** — never accept RS256, HS256, or any other algorithm\n2. **Short-lived credentials** — prefer TTLs of hours, not days\n3. **Always check revocation** before trusting a credential\n4. **TOFU pinning** means first-seen key is trusted — warn on key changes\n5. **Delegation chains** should narrow capabilities, never widen them\n6. **No external JWT crate** — algorithm validation is controlled inline to prevent algorithm confusion attacks\n7. **Feature-gate HTTP** — use the `fetch` feature only when online discovery is needed; default is offline-capable\n8. **Cross-compatible with SchemaPin** — both use ECDSA P-256, same crypto primitives\n9. **Trust bundles** are ideal for CI\u002FCD and air-gapped deployments — pre-package discovery + revocation data\n10. **JavaScript and Python SDKs** provide identical verification guarantees to the Rust crate\n",{},"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fjaschadub\u002Fagentpin",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill agentpin",{"tool":37,"command":38},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill agentpin",{"tool":40,"command":41},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill agentpin","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjaschadub\u002Fagentpin\u002FSKILL.md",true,[],[46,54,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":53},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":53},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":53},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":53},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":53},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":53},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]