sigil

sigil is a skill for Claude Code, Codex from kayossouza/sigil-protocol. It costs 43 tokens per session (864 once invoked), scanned A, original, MIT.

A cryptographic identity and verification toolkit for AI agents. It can create an Ed25519 keypair, detect changes to identity files, sign documents, verify signatures, and issue interaction receipts.

In plain words
What is it for?
Use it to create an agent identity, attest or verify files, sign and validate documents, and produce records of agent interactions.
Why use it?
It provides a way to check that an agent's identity files have not been altered and that signed claims came from the expected key. This is useful when integrity or authorship must be checked.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kayossouza/sigil-protocol/skill
Any agent
npx skills add kayossouza/sigil-protocol --skill skill
Clone the repo
git clone --depth 1 https://github.com/kayossouza/sigil-protocol

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sigil

README.md
[![agentmods](https://agentmods.dev/badge/skills/kayossouza/sigil-protocol/skill.svg)](https://agentmods.dev/skills/kayossouza/sigil-protocol/skill)
Your own site
<a href="https://agentmods.dev/skills/kayossouza/sigil-protocol/skill"><img src="https://agentmods.dev/badge/skills/kayossouza/sigil-protocol/skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00043 $0.00864
Opus 5 $0.00022 $0.00432
Sonnet 5 $0.00009 $0.00173
Haiku 4.5 $0.00004 $0.00086

Measured 5d ago against content hash ad2dc599b0f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sigil scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/bootstrap.mjs, scripts/verify.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sigil Protocol Skill

Sigil provides cryptographic identity for AI agents. Ed25519 keypairs, Sigil IDs, soul hashing, signed documents, and interaction receipts.

Quick Start

npm install sigil-protocol
import { SigilAgent } from 'sigil-protocol';

const agent = SigilAgent.create({ name: 'MyAgent' });
console.log(agent.id); // sigil:base58...

Core Operations

Generate Identity

const agent = SigilAgent.create({
  name: 'AgentName',
  framework: 'clawdbot',
  capabilities: ['code-generation', 'web-browsing'],
});

Attest Integrity (Tamper Detection)

// Hash and sign core identity files
const attestation = agent.attestIntegrity({
  'SOUL.md': soulContent,
  'AGENTS.md': agentsContent,
});

// Later, verify nothing changed
const result = agent.verifyIntegrity(attestation, currentFiles);
// result.intact === true if untampered

Sign Agent Documents

const doc = agent.document({
  claim: 'https://x.com/owner_handle',
  method: 'social',
});
// doc.proof.proofValue contains Ed25519 signature

Verify a Document

import { verifyDocument } from 'sigil-protocol';
const valid = verifyDocument(doc); // true if signature matches

Issue Interaction Receipts

const receipt = agent.issueReceipt({
  to: 'sigil:other-agent-id',
  action: 'collaborated',
  quality: 'positive',
});

Restore from Existing Keypair

import { SigilAgent } from 'sigil-protocol';

const agent = SigilAgent.fromKeypair(
  { publicKey, privateKey },
  { name: 'MyAgent' }
);

Bootstrap Scripts

The skill includes ready-to-run scripts in scripts/:

  • bootstrap.mjs -- Generate a new identity and attest core files. Run once.
  • verify.mjs -- Verify identity and check file integrity. Run anytime.

Both scripts default to the workspace root. Pass a custom path as the first argument.

node scripts/bootstrap.mjs /path/to/workspace
node scripts/verify.mjs /path/to/workspace

Read the full file on GitHub · 131 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 131 lines · 43 tokens per session scan A ad2dc599b0f2

Subscribe to this mod's changes

sigil is a skill published in the GitHub repository kayossouza/sigil-protocol (2 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 864 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

commonly

You are a member of a Commonly workspace — a shared space where humans and AI agents from any origin collaborate in pods (chat rooms with memory). Use this whenever you are connected to Commonly via the commonly MCP tools: to read what's happening, post, remember things across sessions, react, DM other agents, and…

Team-Commonly/commonly · 0 tokens

officecli-commonly-templates

Use this skill when producing a polished, Commonly-branded deliverable (.docx brief / memo, .xlsx data matrix, .pptx deck) and you do not have specific brand guidance from the user. Trigger on: 'write me a brief', 'one-pager', 'memo', 'data sheet', 'status matrix', 'short deck', 'summary deck', 'closing slide', 'final…

Team-Commonly/commonly · 182 tokens

github

Interact with GitHub (issues, PRs, repos, releases) using the gh CLI. Use when asked to read or write GitHub state — open an issue, fetch PR diff, comment, list runs, etc.

Team-Commonly/commonly · 49 tokens

pandic-office

Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI. Use when asked to produce a PDF report, brief, summary, or any document where the input is Markdown and the output should be a polished, paginated file.

Team-Commonly/commonly · 59 tokens

markdown-converter

Convert binary documents (PDF, DOCX, XLSX, PPTX, HTML, EPUB, images) to clean LLM-friendly Markdown using Microsoft's markitdown Python tool. Use when a user attaches a binary file and you need to read its contents.

Team-Commonly/commonly · 57 tokens

pdf

Manipulate PDF files — extract text, count pages, render thumbnails, merge or split documents. Use for PDF-specific operations that don't fit markdown-converter (general read) or pandic-office (write from markdown).

Team-Commonly/commonly · 49 tokens