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.
npx agentmods add commands/rolecraft-sh/rolecraft/convertgit clone --depth 1 https://github.com/rolecraft-sh/rolecraftWrote 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.
[](https://agentmods.dev/commands/rolecraft-sh/rolecraft/convert)<a href="https://agentmods.dev/commands/rolecraft-sh/rolecraft/convert"><img src="https://agentmods.dev/badge/commands/rolecraft-sh/rolecraft/convert.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00612 |
| Opus 5 | $0.00000 | $0.00306 |
| Sonnet 5 | $0.00000 | $0.00122 |
| Haiku 4.5 | $0.00000 | $0.00061 |
Grade A, and why
convert 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rolecraft convert
Convert skills between rolecraft's SKILL.md format and Cursor/Claude Code's .mdc rule format.
Usage
rolecraft convert <source> [options]
Description
rolecraft convert detects the input format and converts bidirectionally:
- SKILL.md → .mdc — Export a rolecraft skill as a Cursor/Claude Code rule file
- .mdc → SKILL.md — Import an existing Cursor/Claude Code rule as a rolecraft skill
The conversion preserves the body content and any mcp_servers metadata — no data is lost during round-trip conversion.
Arguments
| Argument | Description |
|---|---|
source |
Path to a file or directory to convert |
If source is a directory, convert looks for SKILL.md first, then .mdc files.
Options
| Option | Description |
|---|---|
--dry-run |
Show what would be done without writing |
--output |
Output directory (default: current directory) |
Format Mapping
| SKILL.md field | .mdc equivalent |
|---|---|
name |
description (fallback) |
description |
description |
slug |
Filename ({slug}.mdc) |
mcp_servers |
Preserved as-is (unknown to Cursor, ignored) |
| Body content | Body content |
| .mdc field | SKILL.md equivalent |
|---|---|
description |
name + description |
alwaysApply |
Not applicable (discarded) |
globs |
Not applicable (discarded) |
| Body content | Body content |
Examples
# Convert a skill to a Cursor rule
rolecraft convert ./my-skill/SKILL.md
# → Creates {slug}.mdc in current directory
# Convert a Cursor rule to a skill
rolecraft convert .cursor/rules/my-rule.mdc
# → Creates SKILL.md in current directory
# Convert all .mdc files in a directory
rolecraft convert .cursor/rules/
# → Creates SKILL.md for each .mdc file
# Preview without writing
rolecraft convert ./skill --dry-run
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.
- 4d ago First seen · 84 lines · 0 tokens per session scan A 973c78287892
convert is a command published in the GitHub repository rolecraft-sh/rolecraft (75 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 612 tokens. 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.
Other commands, from other repositories
audit-artifacts
List suspicious root agent process files and placement directories.
audit
Diff live infrastructure against the spec and report drift by component name.
uninstall
Uninstall filetree from this repo — un-wires CLAUDE.md/AGENTS.md, removes generated artifacts (confirmed per item), tears down self-only mode if enabled.
research-component
Research and add a new infra component from a documentation link the user provides — crawl the docs, fan out subagents over the relevant subpages, then write, register, and validate the component.
vp-get-active-cell
VP Get active cell ( vpAreaName : Text { ; sheet : Integer } ) : Object.
vp-get-frozen-panes
VP Get frozen panes ( vpAreaName : Text { ; sheet : Integer } ) : Object.