self

self is a skill for Claude Code from nagisanzenin/idiolect. It costs 58 tokens per session (1,048 once invoked), scanned A, original, MIT.

A local profile of how you write, built from your writing samples and captured prose.

In plain words
What is it for?
Use it to build or refresh your voice profile, add samples, check its status, or turn capture on or off.
Why use it?
It helps generated drafts stay closer to your own wording and style instead of using a generic voice.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the idiolect plugin — 7 skills, 3 agents, 1 hook shipped together

Good fit Use it to build or refresh your voice profile, add samples, check its status, or turn capture on or off.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add nagisanzenin/idiolect
Claude Code
/plugin install idiolect

Made for: Claude Code.

Or install idiolect, the plugin that ships this one along with the rest of its 7 skills, 3 agents, 1 hook.

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 self

README.md
[![agentmods](https://agentmods.dev/badge/skills/nagisanzenin/idiolect/self.svg)](https://agentmods.dev/skills/nagisanzenin/idiolect/self)
Your own site
<a href="https://agentmods.dev/skills/nagisanzenin/idiolect/self"><img src="https://agentmods.dev/badge/skills/nagisanzenin/idiolect/self.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,048 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.
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.00058 $0.01048
Opus 5 $0.00029 $0.00524
Sonnet 5 $0.00012 $0.00210
Haiku 4.5 $0.00006 $0.00105

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

Security

Grade A, and why

self 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 7d 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/self/SKILL.md · 42 lines

How it starts

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

/idiolect:self — your voice, defended

The roster's voices are fictional. This one is real: a running stylometric picture of how YOU actually write, so drafts in "your voice" are measured against you, not against a compliment. It's also the anti-homogenization move — co-writing with RLHF-tuned models measurably pulls writers toward one style (Padmakumar & He 2024; CHI 2025 showed the pull is strongest on non-Western writers). A maintained self profile is how your idiolect survives the tooling.

Setup

ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-$IDIOLECT_ROOT}}"
# unset everywhere (opencode)? ROOT = two directories up from this SKILL.md
IDIO="python3 $ROOT/scripts/idiolect.py"

How capture works (tell the user this the first time)

On Claude Code, a UserPromptSubmit hook feeds each of your prompts through a filter: prose-like messages ≥ 15 words are kept; commands, code, paths, and logs are rejected. Kept text lands in a LOCAL corpus ($IDIO pathself_corpus) that never leaves the machine, never enters the repo, and caps itself (samples outlive prompts when it compacts). self off stops capture instantly; self clear deletes the corpus. On Codex/opencode there's no per-prompt hook — feed it explicitly with add.

Prompt text is a REGISTER of you (terse, imperative, workish), not the whole you. Explicit samples of real writing (your posts, emails, comments) are tagged sample and weigh more in the build. The more samples, the truer the profile.

Actions

  • status$IDIO self status: corpus size, sample/prompt split, capture on/off, ready-for-build.
  • add — user pastes text or gives files: Write to a scratch file, $IDIO self add --file <f> (chunks and tags as samples). This is the highest-leverage thing a user can do for profile quality; nudge for 3–5 real posts/emails.
  • on / off / clear — pass through to the CLI; confirm before clear (destructive).
  • build (or refresh) — the main event:
    1. $IDIO self status --json — if not ready_for_build, say what's missing (~800 words or 5 samples) and offer add.
    2. $IDIO fingerprint --self --json > fp.json — the measured stylometrics, with the sample/prompt provenance split.
    3. $IDIO synth-scaffold --slug self --from-fingerprint fp.json — skeleton with THEIR real numbers.
    4. Co-author, don't fabricate. The stylo block comes from measurement; the human block comes from the human. Show what you observed in plain terms ("you average 11-word sentences with high variance; you drop capitals in short lines; 'honestly' and 'basically' are load-bearing"), then ASK for the parts no corpus reveals: what they do, what they'll argue about, what they refuse to sound like (that's their banned list — start it with whatever corporate words they hate). Exemplars: prefer 3 REAL posts from their samples (lightly trimmed) over synthetic ones; synthetic exemplars only with their sign-off.
    5. Save to $IDIOLECT_HOME/voices/self.md, run $IDIO validate self (custom voices get the relaxed exemplar threshold), fix until ok.
    6. From now on /idiolect:write self <platform> — <brief> writes as them, conform-checked against their own parameters.
  • drift — rerun fingerprint --self, diff the numbers against the profile's stylo block, report what changed ("your sentences got 20% shorter since March; em dashes crept in — keep or update?"). Update the profile only with consent; drift is sometimes growth and sometimes contamination, and only the owner knows which.

Read the full file on GitHub · 42 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. 7d ago First seen · 42 lines · 58 tokens per session scan A 566d1bef5f75

Subscribe to this mod's changes

self is a skill published in the GitHub repository nagisanzenin/idiolect (23 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 1,048 once invoked, about $0.0003 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-09-01.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens