skills/clawnet-cli/SKILL.md
Reference for ClawNet CLI internals, architecture, and recent changes. Use this skill when working on clawnet, clawnet-paperclip-plugin, or any code that interacts with the ClawNet registry, vault, ORDFS content fetching, or agent/organization publishing.
npx skillsauth add b-open-io/prompts clawnet-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ClawNet CLI uses @1sat/[email protected] and @1sat/wallet-mac for key management. The old configureVault() helper and built-in se-helper binary have been removed.
The vault is composed from three pieces:
SecureEnclaveProvider from @1sat/wallet-mac — platform-specific Secure Enclave operations. Instantiated with SecureEnclaveProvider({ name: "ClawNet" }).FileVaultStorage from @1sat/vault — file-based vault entry storage.createVault(provider, storage) from @1sat/vault — creates the vault instance from a provider and storage backend.import { SecureEnclaveProvider } from "@1sat/wallet-mac";
import { FileVaultStorage, createVault } from "@1sat/vault";
const provider = new SecureEnclaveProvider({ name: "ClawNet" });
const storage = new FileVaultStorage();
const vault = createVault(provider, storage);
clawnet add fetches files via /content/{manifest}/{path} directory paths. ORDFS resolves _N refs and nested directories natively, so the CLI no longer needs to parse them manually. The old downloadDirectoryEntries function with manual _N parsing was removed.
Example fetch path:
https://ordfs.network/content/{manifestTxid}/src/index.ts
ORDFS handles the directory tree resolution server-side.
clawnet publish ORGANIZATION.md publishes organization packages with an agent hierarchy (roles, reporting structure).
The ORGANIZATION.md format uses YAML frontmatter with an agents: array:
---
name: my-org
agents:
- slug: lead-agent
role: lead
- slug: worker-agent
role: worker
reportsTo: lead-agent
---
Each agent entry supports:
slug — agent identifier (must match a published agent)role — the agent's role within the organizationreportsTo — slug of the agent this one reports to (establishes hierarchy)Agent .md files support an icon: field in YAML frontmatter. The icon URL points to an avatar image that is stored in the registry and served via the API.
---
name: my-agent
icon: https://example.com/avatar.png
---
development
This skill should be used when the user asks to "design a business card", "make a printable PDF", "render HTML to PDF", "generate a postcard", "build print collateral", "set up an HTML print pipeline", or needs help with bleed, safe areas, font embedding, or QR generation for print. Provides a Playwright-based pipeline with multiple bundled templates and theme variants for business cards (minimal, watercolor light, watercolor dark) and instructions for adding new templates.
tools
Get recent tweets from an X/Twitter user. Use when user asks "what has @username posted", "recent tweets from", "user's X posts", "show timeline for", "what is @user saying". Requires X_BEARER_TOKEN.
data-ai
Get X/Twitter user profile by username. Use when user asks "who is @username", "get X profile", "lookup Twitter user", "find X account", "user details", "follower count for". Requires X_BEARER_TOKEN.
data-ai
Search recent X/Twitter posts by query. Returns RAW TWEETS (last 7 days). Use when user asks "search X for", "find tweets about", "what are people saying about", "Twitter search", "raw tweets about". For AI summaries/sentiment, use x-research instead. Requires X_BEARER_TOKEN.