identity

identity is a command for Claude Code from Ingramradical235/anty-framework. It costs 10 tokens per session (811 once invoked), scanned A, a copy of identity, MIT.

A command for viewing and editing an AI agent's identity settings, including its communication style, decision approach, risk tolerance, and values.

In plain words
What is it for?
Use it to view the current identity file or change the agent's style, philosophy, risk tolerance, and values.
Why use it?
It gives users a way to inspect and adjust the rules that shape how the agent communicates and makes decisions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 commands/ingramradical235/anty-framework/identity
Clone the repo
git clone --depth 1 https://github.com/Ingramradical235/anty-framework

Made for: Claude Code.

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 identity

README.md
[![agentmods](https://agentmods.dev/badge/commands/ingramradical235/anty-framework/identity.svg)](https://agentmods.dev/commands/ingramradical235/anty-framework/identity)
Your own site
<a href="https://agentmods.dev/commands/ingramradical235/anty-framework/identity"><img src="https://agentmods.dev/badge/commands/ingramradical235/anty-framework/identity.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00010 $0.00811
Opus 5 $0.00005 $0.00405
Sonnet 5 $0.00002 $0.00162
Haiku 4.5 $0.00001 $0.00081

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

Security

Grade A, and why

identity 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.

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.

Origin

This is a copy

100% identical to identity — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/identity.md · 129 lines

How it starts

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

/anty:identity — View/Edit Agent Identity

Trigger

User runs /anty:identity

Behavior

Read and display the contents of .anty/identity.md, then allow the user to view and edit the agent's identity settings. Identity controls how the agent thinks, communicates, and makes decisions.

Default View (no arguments)

  1. Read .anty/identity.md
  2. Display current identity settings:
    ====================================================
      AGENT IDENTITY
    ====================================================
    Controls how Anty thinks, communicates, and decides.
    ====================================================
    
    COMMUNICATION STYLE
    ---------------------------------------------------
    [current style description]
    
    DECISION PHILOSOPHY
    ---------------------------------------------------
    [current philosophy description]
    
    RISK TOLERANCE
    ---------------------------------------------------
    [current risk tolerance level and description]
    
    VALUES
    ---------------------------------------------------
    [current values list]
    
    ====================================================
    Sections you can edit:
      "style [description]"    — Update communication style
      "philosophy [text]"      — Update decision philosophy
      "risk [level]"           — Update risk tolerance
      "values [list]"          — Update values
      "done"                   — Exit identity editor
    ====================================================
    

Editing Communication Style

When user says "style [description]":

  1. Update the Communication Style section in .anty/identity.md
  2. Display updated identity
  3. Confirm: "Communication style updated."

Examples:

  • "Direct and concise, no fluff"
  • "Detailed with supporting evidence"
  • "Casual and conversational"
  • "Formal with structured reasoning"

Editing Decision Philosophy

When user says "philosophy [text]":

  1. Update the Decision Philosophy section in .anty/identity.md
  2. Display updated identity
  3. Confirm: "Decision philosophy updated."

Read the full file on GitHub · 129 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. 5d ago First seen · 129 lines · 10 tokens per session scan A 05bcb7dc23d6

Subscribe to this mod's changes

identity is a command published in the GitHub repository Ingramradical235/anty-framework (1 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 811 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to identity, differing in 0 lines, and is treated as a copy.