sema-mint

sema-mint is a skill for Claude Code from emergent-wisdom/sema. It costs 43 tokens per session (2,747 once invoked), scanned A, original, MIT.

A guide for creating new Sema patterns, which are shared vocabulary entries whose names come from a hash of their definitions.

In plain words
What is it for?
Use it when designing, checking, and adding a new content-addressed pattern to a writable Sema project database.
Why use it?
It explains the required fields, links between patterns, validation checks, and identity rules so new entries are created consistently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the sema plugin — 4 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it when designing, checking, and adding a new content-addressed pattern to a writable Sema project database.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emergent-wisdom/sema/sema-mint
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.

Any agent
npx skills add emergent-wisdom/sema --skill sema-mint
Clone the repo
git clone --depth 1 https://github.com/emergent-wisdom/sema

Made for: Claude Code.

Or install sema, the plugin that ships this one along with the rest of its 4 skills, 2 hooks, 1 MCP server.

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 sema-mint

README.md
[![agentmods](https://agentmods.dev/badge/skills/emergent-wisdom/sema/sema-mint.svg)](https://agentmods.dev/skills/emergent-wisdom/sema/sema-mint)
Your own site
<a href="https://agentmods.dev/skills/emergent-wisdom/sema/sema-mint"><img src="https://agentmods.dev/badge/skills/emergent-wisdom/sema/sema-mint.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 2,747 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00043 $0.02747
Opus 5 $0.00022 $0.01373
Sonnet 5 $0.00009 $0.00549
Haiku 4.5 $0.00004 $0.00275

Measured 8d ago against content hash 7f8975808ec8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

sema-mint 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 8d ago.

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.

skills/sema-mint/SKILL.md · 251 lines

How it starts

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

Minting Sema Patterns

Minting creates a new content-addressed pattern in the sema vocabulary. The definition IS the identity — hash the content, get the name. Change one invariant, get a different hash.

Before you start a minting session

1. Check that minting is enabled. sema_mint is exposed by default. If it's missing from your available MCP tools, the server has been explicitly configured to hide it. Tell the user:

"Minting isn't available on this server — it's disabled via SEMA_DISABLE_MINT=true. Unset that env var and restart to re-enable."

2. Make sure the active DB is writable. The bundled vocabulary is read-only — minting into it will be blocked with an error. If the user wants to mint, they need a project DB:

sema build my-project.db --preset full
sema use my-project.db

Or use sema_use(db_path="...") via MCP.

3. Offer the UI. Ask: "Want to open the Sema UI to watch the patterns appear as they get minted?" If yes, invoke the sema-ui skill. The UI refreshes every 5 seconds locally, so each new pattern appears within a few seconds of being minted.

When to mint

Minting is rare. Before minting, search at least three different glosses. Only mint when:

  • You've explained the same concept 3+ times across conversations
  • The concept has stable, non-negotiable invariants
  • Another agent needs the exact protocol to coordinate
  • A graph concept has been refined 3+ times (stable enough to crystallize)

The pipeline

sema_mint(pattern_json) runs a full validation + hash + store pipeline:

  1. Parse — JSON syntax check
  2. Schema validate — required fields, handle format, taxonomy path validity
  3. Dependency wiring — every {{placeholder}} in text must be declared in dependencies; every declared dependency must be used
  4. DAG check — no cycles in the dependency graph; topological sort
  5. Layer direction — lower layers cannot depend on higher layers (Infrastructure < Physics < Mind < Society)
  6. Merkle hash — hash only the semantic fields to produce the content-addressed identity
  7. Store — add to vocabulary database with computed sema_id, sema_ref, sema_stub

Read the full file on GitHub · 251 lines

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. 8d ago First seen · 251 lines · 43 tokens per session scan A 7f8975808ec8

Subscribe to this mod's changes

sema-mint is a skill published in the GitHub repository emergent-wisdom/sema (13 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 2,747 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-30.

Related

Other skills, from other repositories

agent-teams

Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.

athola/claude-night-market · 30 tokens

orchestrate

This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.

varun29ankuS/shodh-memory · 67 tokens

agent-orchestration

Agent orchestration patterns for agentic loops, multi-agent coordination, alternative frameworks, and multi-scenario workflows. Use when building autonomous agent loops, coordinating multiple agents, evaluating CrewAI/AutoGen/Swarm, or orchestrating complex multi-step scenarios.

yonatangross/orchestkit · 56 tokens

cross-agent-handoff

Transfer context between AI agent sessions with structured handoff protocols, state serialization, and decision log preservation. Covers multi-agent coordination, context compression, and continuity patterns. Triggers on agent handoff, session transfer, or multi-agent continuity requests.

organvm-iv-taxis/a-i--skills · 53 tokens

Agent Orchestrator

Coordinate multiple AI agents and skills for complex workflows.

eddiebelaval/squire · 14 tokens

Agentic Orchestration for Oracle

Multi-agent coordination patterns for enterprise AI systems on Oracle Cloud Infrastructure.

frankxai/claude-code-oracle-skills · 20 tokens