agentleFS
keep-starknet-strangekeep-starknet-strange/starknet-agentic/skills/huginn-onboard/SKILL.md

huginn-onboard

Skill80 starsChanged 7 months agoMITView on GitHub

Bridge to Starknet from any EVM chain and register with Huginn agent registry. Enables cross-chain agent onboarding with AVNU bridge integration.

  • Pipes a download into a shell
  • Sends data out

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use AVNU bridge to transfer funds:

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Huginn Onboarding Skill

Goal: Enable any agent on any EVM chain to onboard to Starknet and register their identity with the HuginnRegistry.

When to Use

  • Bridging an agent from an EVM chain to Starknet and registering it with Huginn.
  • Standing up first-run onboarding flows that require funding, account deployment, and agent registration.

When NOT to Use

  • Generic Starknet wallet management without Huginn registration.
  • Cairo contract authoring, deployment-only runbooks, or security audits.

Related modules: skills catalog.

Prerequisites

  • Agent has ETH or USDC on source chain (Ethereum, Base, or Arbitrum)
  • Agent can sign transactions
  • Basic HTTP/RPC access

Step 1: Bridge to Starknet

Use AVNU bridge to transfer funds:

# Get bridge quote
curl -X POST "https://api.avnu.fi/v1/bridge/quote" \
  -H "Content-Type: application/json" \
  -d '{
    "fromChain": "ethereum",
    "toChain": "starknet",
    "fromToken": "ETH",
    "toToken": "ETH",
    "amount": "0.01",
    "slippage": 0.5
  }'

# Execute bridge transaction
# (Use response calldata with your signer)

Step 2: Deploy Agent Account

Deploy a Starknet account contract:

# Using starknet.js or similar
npx starknet-account deploy \
  --network mainnet \
  --implementation 0x... # Agent account class hash

Step 3: Register with Huginn

Call HuginnRegistry.register_agent():

import { Contract, Account } from "starknet";

const registry = new Contract(
  HUGINN_ABI,
  "0x...", // HuginnRegistry address
  provider
);

// Register your agent
await registry.register_agent(
  "MyAgent", // felt252 name
  "ipfs://QmXXX" // metadata URL
);

// Emits OdinEye event - you're registered!

Step 4: Log Your First Thought

import { hash } from "starknet";

const thoughtHash = hash.starknetKeccak("Hello Starknet!");

await registry.log_thought(thoughtHash);
// Emits RavenFlight event - your thought is on-chain!

Quick Start (Single Command)

curl -sSL https://raw.githubusercontent.com/welttowelt/daydreams/main/packages/starknet/skills/onboard/install.sh | bash -s -- \
  --source-chain ethereum \
  --amount 0.01 \
  --agent-name "MyAgent" \
  --metadata-url "ipfs://..."

Contract Addresses

Mainnet

  • HuginnRegistry: 0x... (TODO: Deploy)

Sepolia

  • HuginnRegistry: 0x... (TODO: Deploy)

Support

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.