repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources15d ago| #1 | { |
| #2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| #3 | "$id": "https://github.com/x402agent/solana-clawd/agents/schema/solanaClawdAgentSchema_v1.json", |
| #4 | "title": "solana-clawd Agent Schema v1", |
| #5 | "description": "Agent definition for the solana-clawd ecosystem. Every agent carries CLAWD SOUL (memory tiers + principles), skill references (STRATEGY.md / TRADE.md / SOUL.md), deny-first permissions, Solana wallet gating, and venue / risk envelopes wired to the CLAWD risk and permission engines.", |
| #6 | "type": "object", |
| #7 | "properties": { |
| #8 | "author": { |
| #9 | "type": "string", |
| #10 | "default": "solana-clawd" |
| #11 | }, |
| #12 | "homepage": { |
| #13 | "type": "string", |
| #14 | "format": "uri", |
| #15 | "default": "https://github.com/x402agent/solana-clawd" |
| #16 | }, |
| #17 | "identifier": { |
| #18 | "type": "string", |
| #19 | "pattern": "^[a-z0-9][a-z0-9-]*$", |
| #20 | "description": "kebab-case agent id, unique within the index" |
| #21 | }, |
| #22 | "createdAt": { "type": "string" }, |
| #23 | "updatedAt": { "type": "string" }, |
| #24 | "schemaVersion": { "type": "number", "const": 1 }, |
| #25 | "clawd": { |
| #26 | "type": "object", |
| #27 | "description": "CLAWD-specific metadata: lineage, version, and canonical links.", |
| #28 | "properties": { |
| #29 | "clawdVersion": { "type": "string", "default": "1.0" }, |
| #30 | "lineage": { |
| #31 | "type": "array", |
| #32 | "items": { |
| #33 | "type": "string", |
| #34 | "enum": ["clawd-code", "solanaos", "helius", "anchor", "pumpfun"] |
| #35 | }, |
| #36 | "default": ["clawd-code", "solanaos", "helius"] |
| #37 | }, |
| #38 | "canon": { |
| #39 | "type": "object", |
| #40 | "properties": { |
| #41 | "repo": { "type": "string", "format": "uri", "default": "https://github.com/x402agent/solana-clawd" }, |
| #42 | "runtime": { "type": "string", "format": "uri", "default": "https://github.com/x402agent/SolanaOS" }, |
| #43 | "hub": { "type": "string", "format": "uri", "default": "https://seeker.solanaos.net" }, |
| #44 | "agents": { "type": "string", "format": "uri", "default": "https://solanaclawd.com/agents" }, |
| #45 | "terminal": { "type": "string", "format": "uri", "default": "https://solanaclawd.com/terminal" }, |
| #46 | "studio": { "type": "string", "format": "uri", "default": "https://vibe.solanaclawd.com" }, |
| #47 | "dex": { "type": "string", "format": "uri", "default": "https://dex.solanaclawd.com" }, |
| #48 | "telegram": { "type": "string", "format": "uri", "default": "https://t.me/clawdtoken" } |
| #49 | }, |
| #50 | "additionalProperties": false |
| #51 | } |
| #52 | }, |
| #53 | "required": ["clawdVersion"], |
| #54 | "additionalProperties": false |
| #55 | }, |
| #56 | "soul": { |
| #57 | "type": "object", |
| #58 | "description": "CLAWD identity and epistemology (SOUL.md).", |
| #59 | "properties": { |
| #60 | "memoryTiers": { |
| #61 | "type": "array", |
| #62 | "description": "Confidence tiers this agent uses to label claims.", |
| #63 | "items": { "type": "string", "enum": ["KNOWN", "LEARNED", "INFERRED"] }, |
| #64 | "default": ["KNOWN", "LEARNED", "INFERRED"], |
| #65 | "minItems": 1 |
| #66 | }, |
| #67 | "principles": { |
| #68 | "type": "array", |
| #69 | "items": { "type": "string" }, |
| #70 | "default": [ |
| #71 | "KNOWN before INFERRED", |
| #72 | "Preserve capital first", |
| #73 | "Deny-first permissions", |
| #74 | "Transparency over conviction", |
| #75 | "Local-first" |
| #76 | ], |
| #77 | "minItems": 1 |
| #78 | }, |
| #79 | "persona": { |
| #80 | "type": "string", |
| #81 | "description": "One-line self-description surfaced in the agent's opening message.", |
| #82 | "default": "I am a specialist inside solana-clawd." |
| #83 | } |
| #84 | }, |
| #85 | "required": ["memoryTiers", "principles"], |
| #86 | "additionalProperties": false |
| #87 | }, |
| #88 | "skills": { |
| #89 | "type": "array", |
| #90 | "description": "Skill files this agent defers to. Paths are relative to the repo root.", |
| #91 | "items": { |
| #92 | "type": "object", |
| #93 | "properties": { |
| #94 | "name": { "type": "string" }, |
| #95 | "path": { "type": "string" }, |
| #96 | "scope": { |
| #97 | "type": "string", |
| #98 | "enum": ["identity", "strategy", "tactic", "reference", "runbook"] |
| #99 | }, |
| #100 | "required": { "type": "boolean", "default": false } |
| #101 | }, |
| #102 | "required": ["name", "path", "scope"], |
| #103 | "additionalProperties": false |
| #104 | }, |
| #105 | "default": [ |
| #106 | { "name": "SOUL", "path": "SOUL.md", "scope": "identity", "required": true }, |
| #107 | { "name": "STRATEGY", "path": "STRATEGY.md", "scope": "strategy", "required": false }, |
| #108 | { "name": "TRADE", "path": "TRADE.md", "scope": "tactic", "required": false } |
| #109 | ] |
| #110 | }, |
| #111 | "permissions": { |
| #112 | "type": "object", |
| #113 | "description": "Deny-first permission gates. Routed through src/engine/permission-engine.ts.", |
| #114 | "properties": { |
| #115 | "executeTrade": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "ask" }, |
| #116 | "signTransaction": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "ask" }, |
| #117 | "spendFromWallet": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "ask" }, |
| #118 | "accessPrivateKey": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "deny" }, |
| #119 | "readOnChainData": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "allow" }, |
| #120 | "writeMemory": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "allow" }, |
| #121 | "burnClawd": { "type": "string", "enum": ["allow", "deny", "ask"], "default": "ask" } |
| #122 | }, |
| #123 | "additionalProperties": false |
| #124 | }, |
| #125 | "venues": { |
| #126 | "type": "array", |
| #127 | "description": "Trading venues this agent is cleared for (STRATEGY.md). Empty means read-only.", |
| #128 | "items": { |
| #129 | "type": "string", |
| #130 | "enum": ["solana-spot", "pump-fun", "hyperliquid", "aster", "none"] |
| #131 | }, |
| #132 | "default": ["none"] |
| #133 | }, |
| #134 | "risk": { |
| #135 | "type": "object", |
| #136 | "description": "Per-agent risk envelope. Overrides global defaults in src/engine/risk-engine.ts; never exceeds them.", |
| #137 | "properties": { |
| #138 | "maxPositionSol": { "type": "number", "minimum": 0, "default": 0 }, |
| #139 | "maxSlippageBps": { "type": "integer", "minimum": 0, "maximum": 10000, "default": 200 }, |
| #140 | "drawdownPauseBps": { "type": "integer", "minimum": 0, "maximum": 10000, "default": 500 }, |
| #141 | "drawdownKillBps": { "type": "integer", "minimum": 0, "maximum": 10000, "default": 1200 }, |
| #142 | "minWalletSol": { "type": "number", "minimum": 0, "default": 0.01 } |
| #143 | }, |
| #144 | "additionalProperties": false |
| #145 | }, |
| #146 | "solana": { |
| #147 | "type": "object", |
| #148 | "description": "Solana-specific gating and data preferences.", |
| #149 | "properties": { |
| #150 | "network": { |
| #151 | "type": "string", |
| #152 | "enum": ["mainnet-beta", "devnet", "testnet"], |
| #153 | "default": "mainnet-beta" |
| #154 | }, |
| #155 | "requiresClawdHolder": { "type": "boolean", "default": false }, |
| #156 | "minClawdBalance": { "type": "number", "minimum": 0, "default": 0 }, |
| #157 | "clawdMint": { |
| #158 | "type": "string", |
| #159 | "default": "8cHzQHUS2s2h8TzCmfqPKYiM4dSt4roa3n7MyRLApump" |
| #160 | }, |
| #161 | "tokenGate": { |
| #162 | "type": "array", |
| #163 | "items": { |
| #164 | "type": "object", |
| #165 | "properties": { |
| #166 | "mint": { "type": "string" }, |
| #167 | "minBalance": { "type": "number", "minimum": 0 } |
| #168 | }, |
| #169 | "required": ["mint", "minBalance"], |
| #170 | "additionalProperties": false |
| #171 | }, |
| #172 | "default": [] |
| #173 | }, |
| #174 | "rpcPreference": { |
| #175 | "type": "string", |
| #176 | "enum": ["helius", "triton", "quicknode", "public"], |
| #177 | "default": "helius" |
| #178 | } |
| #179 | }, |
| #180 | "additionalProperties": false |
| #181 | }, |
| #182 | "data": { |
| #183 | "type": "object", |
| #184 | "description": "Data sources this agent is allowed to call.", |
| #185 | "properties": { |
| #186 | "helius": { "type": "boolean", "default": true }, |
| #187 | "jupiter": { "type": "boolean", "default": true }, |
| #188 | "pumpFun": { "type": "boolean", "default": false }, |
| #189 | "dexscreener": { "type": "boolean", "default": true }, |
| #190 | "birdeye": { "type": "boolean", "default": false }, |
| #191 | "defiLlama": { "type": "boolean", "default": true }, |
| #192 | "streamflow": { "type": "boolean", "default": false } |
| #193 | }, |
| #194 | "additionalProperties": false |
| #195 | }, |
| #196 | "meta": { |
| #197 | "type": "object", |
| #198 | "properties": { |
| #199 | "avatar": { "type": "string" }, |
| #200 | "backgroundColor": { "type": "string" }, |
| #201 | "category": { |
| #202 | "type": "string", |
| #203 | "enum": [ |
| #204 | "trading", |
| #205 | "portfolio", |
| #206 | "defi", |
| #207 | "security", |
| #208 | "research", |
| #209 | "education", |
| #210 | "governance", |
| #211 | "analytics", |
| #212 | "clawd-ecosystem", |
| #213 | "crypto" |
| #214 | ] |
| #215 | }, |
| #216 | "description": { "type": "string" }, |
| #217 | "tags": { |
| #218 | "type": "array", |
| #219 | "items": { "type": "string" }, |
| #220 | "minItems": 1, |
| #221 | "contains": { "const": "clawd" } |
| #222 | }, |
| #223 | "title": { "type": "string" } |
| #224 | }, |
| #225 | "required": ["avatar", "description", "tags", "title"], |
| #226 | "additionalProperties": false |
| #227 | }, |
| #228 | "knowledgeCount": { "type": "number", "minimum": 0, "default": 0 }, |
| #229 | "pluginCount": { "type": "number", "minimum": 0, "default": 0 }, |
| #230 | "tokenUsage": { "type": "number", "minimum": 0, "default": 0 }, |
| #231 | "summary": { "type": "string" }, |
| #232 | "openingMessage": { "type": "string" }, |
| #233 | "openingQuestions": { |
| #234 | "type": "array", |
| #235 | "items": { "type": "string" } |
| #236 | }, |
| #237 | "examples": { "$ref": "#/properties/config/properties/fewShots" }, |
| #238 | "config": { |
| #239 | "type": "object", |
| #240 | "properties": { |
| #241 | "systemRole": { |
| #242 | "type": "string", |
| #243 | "description": "Full prompt. Must open with the CLAWD IDENTITY preamble and close with the CLAWD OUTPUT CONTRACT (applied by scripts/commands/apply-clawd-theme.mjs)." |
| #244 | }, |
| #245 | "model": { "type": "string", "default": "claudeopus-4-6" }, |
| #246 | "displayMode": { "type": "string", "enum": ["chat", "docs"], "default": "chat" }, |
| #247 | "openingMessage": { "type": "string" }, |
| #248 | "openingQuestions": { "type": "array", "items": { "type": "string" } }, |
| #249 | "inputTemplate": { "type": "string" }, |
| #250 | "historyCount": { "type": "number", "minimum": 0 }, |
| #251 | "enableHistoryCount": { "type": "boolean" }, |
| #252 | "enableMaxTokens": { "type": "boolean" }, |
| #253 | "enableCompressThreshold": { "type": "boolean" }, |
| #254 | "compressThreshold": { "type": "number", "minimum": 0 }, |
| #255 | "params": { |
| #256 | "type": "object", |
| #257 | "properties": { |
| #258 | "frequency_penalty": { "type": "number", "default": 0 }, |
| #259 | "presence_penalty": { "type": "number", "default": 0 }, |
| #260 | "temperature": { "type": "number", "minimum": 0, "maximum": 2, "default": 0.6 }, |
| #261 | "top_p": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 }, |
| #262 | "max_tokens": { "type": "number", "minimum": 1 } |
| #263 | }, |
| #264 | "additionalProperties": false |
| #265 | }, |
| #266 | "fewShots": { |
| #267 | "type": "array", |
| #268 | "items": { |
| #269 | "type": "object", |
| #270 | "properties": { |
| #271 | "content": { "type": "string" }, |
| #272 | "role": { "type": "string", "enum": ["user", "system", "assistant", "function"] } |
| #273 | }, |
| #274 | "required": ["content", "role"], |
| #275 | "additionalProperties": false |
| #276 | } |
| #277 | }, |
| #278 | "plugins": { |
| #279 | "type": "array", |
| #280 | "items": { "type": "string" }, |
| #281 | "description": "Identifiers from plugin.delivery that this agent may call." |
| #282 | }, |
| #283 | "knowledgeBases": { |
| #284 | "type": "array", |
| #285 | "items": { |
| #286 | "type": "object", |
| #287 | "properties": { |
| #288 | "avatar": { "type": ["string", "null"] }, |
| #289 | "createdAt": { "type": "string", "format": "date-time" }, |
| #290 | "description": { "type": ["string", "null"] }, |
| #291 | "enabled": { "type": "boolean" }, |
| #292 | "id": { "type": "string" }, |
| #293 | "isPublic": { "type": ["boolean", "null"] }, |
| #294 | "name": { "type": "string" }, |
| #295 | "settings": {}, |
| #296 | "type": { "type": ["string", "null"] }, |
| #297 | "updatedAt": { "type": "string", "format": "date-time" } |
| #298 | }, |
| #299 | "required": ["avatar", "createdAt", "id", "isPublic", "name", "type", "updatedAt"], |
| #300 | "additionalProperties": false |
| #301 | } |
| #302 | } |
| #303 | }, |
| #304 | "required": ["systemRole"], |
| #305 | "additionalProperties": false |
| #306 | } |
| #307 | }, |
| #308 | "required": [ |
| #309 | "author", |
| #310 | "config", |
| #311 | "createdAt", |
| #312 | "homepage", |
| #313 | "identifier", |
| #314 | "knowledgeCount", |
| #315 | "meta", |
| #316 | "pluginCount", |
| #317 | "schemaVersion", |
| #318 | "tokenUsage", |
| #319 | "clawd", |
| #320 | "soul", |
| #321 | "skills", |
| #322 | "permissions" |
| #323 | ], |
| #324 | "additionalProperties": false |
| #325 | } |
| #326 |