openclawv1.0.0

Starknet Agentic

@keep-starknet-strange⭐ 76 stars· last commit 6mo ago· 36 open issues

OpenClaw skill from keep-starknet-strange

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

7.4/10
Verified
Apr 29, 2026

// RATINGS

⭐GitHub Stars
⭐⭐ 76 on GitHubGitHub ↗

Growing

🟢ProSkills ScoreAI Verified
7.4/10
📍

Not yet listed on ClawHub or SkillsMP

// README

Starknet Agentic

CI CodeQL License: MIT

Infrastructure for the Starknet agent economy: contracts, runtimes, and skills to run self-custodial AI agents with on-chain identity, policy-enforced execution, and composable tool access.

Why This Exists

Most agent stacks treat wallets as add-ons. starknet-agentic treats wallets, identity, and execution policy as first-class system boundaries.

This repo gives you:

  • account-level control rails (session keys, spending policy, revoke paths)
  • ERC-8004 identity, reputation, and validation registries on Starknet
  • MCP and A2A integration packages for agent runtimes
  • reusable skills and end-to-end examples

Fastest Path

If you just want Starknet agent capabilities now:

npx create-starknet-agent@latest

Sanity check (npm availability):

npm view create-starknet-agent version

The scaffolder detects your environment (OpenClaw/MoltBook, Claude Code, Cursor, or standalone) and wires Starknet integration automatically.

Install & Use

Use the path that matches your runtime:

# Full project scaffold
npx create-starknet-agent@latest
# Codex (public GitHub install, cairo-auditor)
skill-installer install https://github.com/keep-starknet-strange/starknet-agentic/tree/main/skills/cairo-auditor
# Restart Codex, then run /skills and invoke cairo-auditor
# Codex (reproducible install pinned to a released tag)
skill-installer install https://github.com/keep-starknet-strange/starknet-agentic/tree/v0.2.2/skills/cairo-auditor
# Claude Code marketplace
/plugin marketplace add keep-starknet-strange/starknet-agentic
/plugin install starknet-agentic-skills@starknet-agentic-skills --scope local
/reload-plugins
/plugin menu
/starknet-agentic-skills:cairo-auditor
# Individual skill install via Agent Skills CLI
npx skills add keep-starknet-strange/starknet-agentic/skills/cairo-auditor

For deterministic install/usage guidance, see:

For the full skill catalog and Cairo migration notes, see skills/README.md and docs/CAIRO_SKILLS_MIGRATION.md.

System Requirements

  • CLI users (npx create-starknet-agent@latest): Node.js >=18.0.0
  • Contributors from source (this monorepo):
    • Node.js >=20.9.0
    • pnpm >=10.28.2 (workspace package manager)
    • Scarb >=2.14.0 + Starknet Foundry (snforge) >=0.54.1 (for Cairo builds/tests)

Choose Your Path

GoalStart here
Add Starknet tools to an existing agentpackages/create-starknet-agent
Run local no-backend onboarding demoexamples/onboard-agent
Run autonomous loop with MCP toolsexamples/full-stack-swarm
Integrate on-chain identity/reputationcontracts/erc8004-cairo
Build production signer boundarypackages/starknet-mcp-server + external signer (proxy mode)

Architecture

flowchart TB
  A["Agent Runtime<br/>(OpenClaw, Claude Code, custom app)"] --> B["MCP / A2A Layer<br/>starknet-mcp-server, starknet-a2a, skills"]
  B --> C["Signer Boundary<br/>direct (dev) or proxy (prod)"]
  C --> D["Starknet Contracts"]
  D --> D1["Agent-account stack<br/>owner controls + spending policy enforcement"]
  D --> D2["ERC-8004 Registries<br/>Identity, Reputation, Validation"]
  D --> D3["Session-account primitives<br/>session-key account modules"]

No-Backend Trust Model (Recommended Launch Profile)

Default launch profile is self-custodial and no-backend:

  • users run agent runtime locally or on their own infra
  • transaction policy is enforced on-chain by account contracts
  • no central signer or shared custody by this project

For production environments, use MCP proxy signer mode rather than raw in-process private keys.

Core Components

Contracts

ComponentPathWhat it does
Agent account contractscontracts/agent-accountSession keys, policy enforcement, ownership controls
ERC-8004 Cairo registriescontracts/erc8004-cairoIdentity, reputation, validation primitives
Session-account primitivescontracts/session-accountSession-key account modules for policy-centric execution
Huginn registrycontracts/huginn-registryAdditional registry primitives used by ecosystem demos

Packages

PackagePathPurpose
create-starknet-agentpackages/create-starknet-agentScaffolds/installs Starknet agent integration
@starknet-agentic/mcp-serverpackages/starknet-mcp-serverStarknet operations over MCP
@starknet-agentic/a2apackages/starknet-a2aA2A protocol adapter
@starknet-agentic/agent-passportpackages/starknet-agent-passportERC-8004 capability metadata helpers
@starknet-agentic/prediction-arb-scannerpackages/prediction-arb-scannerSignals-only prediction market arb scanner output model
x402-starknet (internal)packages/x402-starknetInternal workspace package for Starknet payment signing utilities
@starknet-agentic/onboarding-utilspackages/starknet-onboarding-utilsShared onboarding helpers

Skills

Skill packs live in skills/. Browse full catalog and install flows in skills/README.md. Cairo migration notes and legacy mapping live in docs/CAIRO_SKILLS_MIGRATION.md.

Install one skill:

npx skills add keep-starknet-strange/starknet-agentic/skills/starknet-wallet

Standards and Interop

StandardPurposeImplementation
MCPAgent tool interfacepackages/starknet-mcp-server
A2AAgent-to-agent messaging/workflowspackages/starknet-a2a
ERC-8004Agent identity/reputation/validationcontracts/erc8004-cairo

Parity and Starknet-specific behavior for ERC-8004 is documented in docs/ERC8004-PARITY.md.

Quickstart From Source (Contributors)

1) Install

pnpm install

2) Build and test JS/TS workspace (packages, examples, website)

# full workspace
pnpm build
pnpm test

# packages only (faster path when you do not need example/website checks)
pnpm -r --filter "./packages/*" build
pnpm -r --filter "./packages/*" test

3) Run Cairo checks

failed=0
for dir in contracts/erc8004-cairo contracts/huginn-registry contracts/agent-account contracts/session-account; do
  if ! (cd "$dir" && scarb build && snforge test); then
    echo "Cairo checks failed in $dir"
    failed=1
    break
  fi
done
[ "$failed" -eq 0 ]

4) Run a minimal E2E demo

Before running, configure the required environment in: [`exam

// HOW IT'S BUILT

KEY FILES

.env.exampleREADME.mdSKILL.mdexamples

// REPO STATS

76 stars
36 open issues
Last commit: 6mo ago