[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M720Y97WJ6KT8T5D3QH44CK8":3,"skill-same:01M720Y97WJ6KT8T5D3QH44CK8":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M720Y97WJ6KT8T5D3QH44CK8","bastion-trust-runtime",null,"Integrate Bastion programmable policy enforcement with trustless-ai agents. Compose ERC-8004 identity + ERC-8263 anchor proofs + ERC-8281 OCP commitments with Bastion's policy engine and human-in-the-loop gate. Use when building agents that need enforceable trust rules, multi-chain execution, or recompute-able audit trails.","zkos-labs\u002Fbastion","zkos-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F263369112?v=4","01M720WZH0GD7FAKBP5PSGF4TG","ZKOS Labs","01M720WZHP9JV5NZVQCHA6XJ3M",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbastion-trust-runtime\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: bastion-trust-runtime\ndescription: \"Integrate Bastion programmable policy enforcement with trustless-ai agents. Compose ERC-8004 identity + ERC-8263 anchor proofs + ERC-8281 OCP commitments with Bastion's policy engine and human-in-the-loop gate. Use when building agents that need enforceable trust rules, multi-chain execution, or recompute-able audit trails.\"\n---\n\n# Bastion Trust Runtime - Agent Skill\n\nThis skill teaches agents to compose Bastion's programmable trust layer with the trustless-ai ERC stack.\n\n## What Bastion Adds\n\ntrustless-ai provides **verification** (ERC-8263 anchor proofs, ERC-8274 proof verification, ERC-8281 commitments). Bastion adds the layer between them:\n\n```\nERC-8004 (identity) → Bastion Policy Engine → ERC-8301 (dispatch) → ERC-8281 (provenance) → ERC-8299 (WYRIWE) → ERC-8274 (verify) → ERC-8263 (anchor)\n```\n\n| trustless-ai gives you | Bastion adds |\n|------------------------|--------------|\n| ERC-8004 agent identity | Programmable policy evaluation (11 rule types) |\n| ERC-8263 anchor proofs | Pre-execution simulation (Solana + EVM) |\n| ERC-8281 OCP commitments | Human-in-the-loop override gate |\n| ERC-8299 WYRIWE provenance | Multi-chain TrustAdapter (8 chains) |\n| ERC-8275 settlement | Web2 API policy enforcement |\n\n## Architecture\n\n```text\nAgent Framework (LangGraph \u002F CrewAI \u002F OpenAI Agents SDK)\n        │\n        ▼\ntrustless-ai agent-sdk (ERC clients + recompute)\n        │\n        ▼\nBastion Trust Runtime\n├── Identity (ERC-8004 compat)\n├── Policy Engine (11 rules)\n├── Simulation (Helius \u002F eth_call)\n├── HITL Gate (\u002Foverride)\n└── Audit (Anchor PDA + EIP-712 + ERC-8263)\n        │\n        ▼\nExecution Environments (Ethereum, zkSync, Solana, Base, ...)\n```\n\n## TrustIntent: Declare What, Not How\n\nInstead of calling low-level ERC methods directly, agents declare a TrustIntent:\n\n```yaml\nintent: transfer\nasset: USDC\namount: 500\nrecipient: 0x...\nrequirements:\n  - humanApproval\n  - sanctionsCheck\n  - maxRisk: medium\n  - settlement: ethereum\n```\n\nBastion resolves:\n- Which `IPolicyRule` instances to evaluate\n- Whether `PendingHITL` is required\n- Which chain adapter to use\n- Whether to anchor via ERC-8263\n\n## Using Bastion with agent-sdk\n\n```typescript\n\u002F\u002F 1. Register identity via ERC-8004 (trustless-ai)\nimport { IdentityRegistryClient } from \"@trustless-ai\u002Fagent-sdk\u002Fidentity\u002FERC8004\";\nconst identity = new IdentityRegistryClient({ rpcUrl, address: registryAddress }, account);\nconst { agentId } = await identity.register(\"ipfs:\u002F\u002FQm...\");\n\n\u002F\u002F 2. Simulate + policy-check via Bastion (programmable trust)\nimport { BastionSidecar } from \"@zkos-labs\u002Fbastion-agentique\";\nconst sidecar = new BastionSidecar({ baseUrl: \"https:\u002F\u002Fbastion-agentique.fly.dev\" });\nconst decision = await sidecar.simulate({ transaction, intent: \"swap 1 SOL to USDC\" });\n\n\u002F\u002F 3. If passed, execute. Bastion writes an audit record with ERC-8263 AnchorProof.\n\u002F\u002F    The audit ID can be recomputed offline using verify.recomputeObservationDigest().\n\n\u002F\u002F 4. Recompute verification (trustless-ai philosophy)\nimport { verify } from \"@zkos-labs\u002Fbastion-agentique\";\nconst result = verify.verifyAuditRecord({\n  rawInput: JSON.stringify(transaction),\n  decision: \"Pass\",\n  payloadHash: txHash,\n  expectedObservationDigest: auditRecord.observation_digest,\n  expectedWyriweHash: auditRecord.wyriwe_hash,\n});\n\u002F\u002F result.valid === true → no trust in Bastion required\n```\n\n## Recompute Guarantee\n\nEvery Bastion audit record carries:\n- **`observation_digest`** (ERC-8281 OCP): sha256 of \"Decision:payload_hash\"\n- **`wyriwe_hash`** (ERC-8299 WYRIWE): triple-hash binding raw input → sanitized input\n\nBoth are recompute-able from public inputs. The `@zkos-labs\u002Fbastion-agentique` `verify` module provides pure functions that reproduce these hashes without any network access - implementing trustless-ai's \"Don't trust. Recompute.\" guarantee for the policy layer.\n\n## When to Use Bastion\n\n- You need **enforceable rules** (not just advisory): amount caps, allowlists, rate limits\n- You need **human approval gates** for high-value or suspicious actions\n- You need **multi-chain execution** (Ethereum + Solana + zkSync + Base from one interface)\n- You need **recompute-able audit trails** that external parties can verify independently\n- You need **Web2 API policy enforcement** alongside on-chain policy (OpenAI, Stripe, Slack)\n","# Bastion Trust Runtime - Agent Skill\n\nThis skill teaches agents to compose Bastion's programmable trust layer with the trustless-ai ERC stack.\n\n## What Bastion Adds\n\ntrustless-ai provides **verification** (ERC-8263 anchor proofs, ERC-8274 proof verification, ERC-8281 commitments). Bastion adds the layer between them:\n\n```\nERC-8004 (identity) → Bastion Policy Engine → ERC-8301 (dispatch) → ERC-8281 (provenance) → ERC-8299 (WYRIWE) → ERC-8274 (verify) → ERC-8263 (anchor)\n```\n\n| trustless-ai gives you | Bastion adds |\n|------------------------|--------------|\n| ERC-8004 agent identity | Programmable policy evaluation (11 rule types) |\n| ERC-8263 anchor proofs | Pre-execution simulation (Solana + EVM) |\n| ERC-8281 OCP commitments | Human-in-the-loop override gate |\n| ERC-8299 WYRIWE provenance | Multi-chain TrustAdapter (8 chains) |\n| ERC-8275 settlement | Web2 API policy enforcement |\n\n## Architecture\n\n```text\nAgent Framework (LangGraph \u002F CrewAI \u002F OpenAI Agents SDK)\n        │\n        ▼\ntrustless-ai agent-sdk (ERC clients + recompute)\n        │\n        ▼\nBastion Trust Runtime\n├── Identity (ERC-8004 compat)\n├── Policy Engine (11 rules)\n├── Simulation (Helius \u002F eth_call)\n├── HITL Gate (\u002Foverride)\n└── Audit (Anchor PDA + EIP-712 + ERC-8263)\n        │\n        ▼\nExecution Environments (Ethereum, zkSync, Solana, Base, ...)\n```\n\n## TrustIntent: Declare What, Not How\n\nInstead of calling low-level ERC methods directly, agents declare a TrustIntent:\n\n```yaml\nintent: transfer\nasset: USDC\namount: 500\nrecipient: 0x...\nrequirements:\n  - humanApproval\n  - sanctionsCheck\n  - maxRisk: medium\n  - settlement: ethereum\n```\n\nBastion resolves:\n- Which `IPolicyRule` instances to evaluate\n- Whether `PendingHITL` is required\n- Which chain adapter to use\n- Whether to anchor via ERC-8263\n\n## Using Bastion with agent-sdk\n\n```typescript\n\u002F\u002F 1. Register identity via ERC-8004 (trustless-ai)\nimport { IdentityRegistryClient } from \"@trustless-ai\u002Fagent-sdk\u002Fidentity\u002FERC8004\";\nconst identity = new IdentityRegistryClient({ rpcUrl, address: registryAddress }, account);\nconst { agentId } = await identity.register(\"ipfs:\u002F\u002FQm...\");\n\n\u002F\u002F 2. Simulate + policy-check via Bastion (programmable trust)\nimport { BastionSidecar } from \"@zkos-labs\u002Fbastion-agentique\";\nconst sidecar = new BastionSidecar({ baseUrl: \"https:\u002F\u002Fbastion-agentique.fly.dev\" });\nconst decision = await sidecar.simulate({ transaction, intent: \"swap 1 SOL to USDC\" });\n\n\u002F\u002F 3. If passed, execute. Bastion writes an audit record with ERC-8263 AnchorProof.\n\u002F\u002F    The audit ID can be recomputed offline using verify.recomputeObservationDigest().\n\n\u002F\u002F 4. Recompute verification (trustless-ai philosophy)\nimport { verify } from \"@zkos-labs\u002Fbastion-agentique\";\nconst result = verify.verifyAuditRecord({\n  rawInput: JSON.stringify(transaction),\n  decision: \"Pass\",\n  payloadHash: txHash,\n  expectedObservationDigest: auditRecord.observation_digest,\n  expectedWyriweHash: auditRecord.wyriwe_hash,\n});\n\u002F\u002F result.valid === true → no trust in Bastion required\n```\n\n## Recompute Guarantee\n\nEvery Bastion audit record carries:\n- **`observation_digest`** (ERC-8281 OCP): sha256 of \"Decision:payload_hash\"\n- **`wyriwe_hash`** (ERC-8299 WYRIWE): triple-hash binding raw input → sanitized input\n\nBoth are recompute-able from public inputs. The `@zkos-labs\u002Fbastion-agentique` `verify` module provides pure functions that reproduce these hashes without any network access - implementing trustless-ai's \"Don't trust. Recompute.\" guarantee for the policy layer.\n\n## When to Use Bastion\n\n- You need **enforceable rules** (not just advisory): amount caps, allowlists, rate limits\n- You need **human approval gates** for high-value or suspicious actions\n- You need **multi-chain execution** (Ethereum + Solana + zkSync + Base from one interface)\n- You need **recompute-able audit trails** that external parties can verify independently\n- You need **Web2 API policy enforcement** alongside on-chain policy (OpenAI, Stripe, Slack)\n",{"name":5,"description":7},"main","d10fe79c634de337daa2ad2fa82857c8a743616b",".agents\u002Fskills\u002Fbastion-trust-runtime",1,"https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion","https:\u002F\u002Fbastionagentique.com\u002F","https:\u002F\u002Fgithub.com\u002Fzkos-labs","https:\u002F\u002Fzkoslabs.org","A research-driven builders' organization advancing programmable trust infrastructure for Ethereum and interoperable open networks.","2026-11-13 21:01:45",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add zkos-labs\u002Fbastion --skill bastion-trust-runtime",{"tool":40,"command":41},"bunx","bunx skills add zkos-labs\u002Fbastion --skill bastion-trust-runtime",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zkos-labs\u002Fbastion --skill bastion-trust-runtime","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbastion-trust-runtime\u002FSKILL.md",true,[],[49,57,64,71,78,85],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":53,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7213RCWV886P2R63MTQAEGW","bastion","Programmable Trust Runtime for Autonomous Systems. Orchestrates identity, policy, privacy, durable execution, and multi-chain settlement.","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7213MYSJE23KMMTD95Y3M3Z","web2-api-firewall-administrator","Guides configuring Bastion Web2 API adapter policies for the Trust Runtime. Covers endpoint allowlists, provider budgets, rate limits, content inspection (PII\u002Fsecrets detection), header filters, and OpenAPI spec-based auto-configuration. Use when configuring API call security for AI agents, setting provider spending caps, inspecting outbound API traffic, or setting up the Web2 adapter.","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb2-api-firewall-administrator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7213HE08PE43M2H0QZENZP2","transaction-screening-workflow-concepts","Educational map of transaction-centric compliance screening-transfer as the atomic unit, deposit vs withdrawal direction, single and CSV import, transaction list and detail views, per-transfer screening, rescreen, and STR-style exports. Use when the user asks how monitoring UIs treat tx hashes, directions, or regulatory reporting hooks-not for legal filing advice or evading reporting.","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftransaction-screening-workflow-concepts\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7213DQ7TVE986643SR105Y4","solana-tracing-specialist","Guides Solana-specific on-chain forensics-ATA resolution, SPL instruction parsing, transaction history via RPC and indexers (e.g. Helius-style APIs), fund-flow graphs, Solana clustering heuristics, and program authority review. Use when the user investigates Solana wallets, SPL tokens, DEX\u002FJito flows, rug or phishing patterns on Solana, or needs evidence-structured tracing reports with public data only.","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsolana-tracing-specialist\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M72138PB2HTKJ0J39WNSRCRR","solana-onchain-intelligence-resources","Companion to blockint-skills Solana work-official doc indexes and stacks for RPC\u002Findexers, sanctions and address intel MCP, web research, agent payments, graph UIs, Solana Foundation dev skills, Solana Policy Institute (policy\u002Fregulatory education), optional open-source Scrapy collection (BlockchainSpider), Impersonator Solana (dApp dev\u002Ftesting), coral-xyz sealevel-attacks (security pattern examples), Neodyme Solana Security Workshop (workshop.neodyme.io), and Osec Solana auditor introduction blog (osec.io). Use when the user needs pointers to Helius, Range AI, Tavily, PayAI x402, React Flow, Solana.com skills, or SPI alongside on-chain forensics-not as a substitute for reading current provider docs, legal counsel, or API keys.","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsolana-onchain-intelligence-resources\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M72134Y4PVHN6CQPHX9NKSHQ","solana-defi-vulnerability-analyst-agent","Guides discovery and documentation of Solana DeFi protocol risks from public code and chain state-Anchor\u002Fnative programs, PDAs, CPIs, oracles, pools, SPL mechanics, and historical tx reconstruction. Use when the user asks for Solana program security review, DeFi vulnerability triage, PDA or CPI safety, oracle or liquidity-pool risk, launchpad\u002Fbonding-curve issues, or evidence-backed severity findings without exploits or private keys.","https:\u002F\u002Fgithub.com\u002Fzkos-labs\u002Fbastion\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsolana-defi-vulnerability-analyst-agent\u002FSKILL.md",[],[]]