Agent skill

Self

by av in av/mi

Answer questions about how 'mi' works, write new tools, or modify the harness.

No licenceAuto-check passedAI & LLM Engineering

Install Self

skills CLI
$ npx skills add av/mi --skill self -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install av/mi self --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/av/mi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/self .claude/skills/self && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
self
GitHub stars
102
Token cost
~1.4k tokens
SKILL.md length
580 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
None found

At a glance

Answer questions about how 'mi' works, write new tools, or modify the harness.

  • Works in 6 steps: Read the source first. cat $MI_PATH and… → For the user-facing feature list /… → For repo-specific invariants and editing… → …
  • How do you work
  • SKILL.md covers Where things live, Config, How you run and Procedure, plus 2 more sections
  • Calls node and npm; reaches api.openai.com; needs OPENAI_API_KEY

What it does

Self is an agent skill from av/mi. Answer questions about how 'mi' works, write new tools, or modify the harness. Use for "how do you work", "write a tool", "add a tool", "create a tool", "extend yourself", "edit yourself", "what tools do you have", or any introspection/modification of the running agent.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. It works with OpenAI. The repository describes itself as: self-extending sandboxed agentic harness. a loop, two tools and an llm.

When your agent uses it

  • How do you work
  • Extend yourself
  • What tools do you have
  • Any introspection/modification of the running agent

Example prompts

  • “works, write new tools, or modify the harness. Use for”
  • “write a tool”
  • “add a tool”
  • “/self”

Requirements

  • Docker
  • A credential in OPENAI_API_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Read the source first. cat $MI_PATH and cat $(dirname $MI_PATH)/tools/*.mjs — the harness plus tools are ~30 lines total. For a specific…
  2. For the user-facing feature list / install / usage: cat $(dirname $MI_PATH)/README.md.
  3. For repo-specific invariants and editing rules: cat $(dirname $MI_PATH)/AGENTS.md — note the "30 loc is load-bearing" rule.
  4. To list available skills: call the skill tool with no name arg (returns - name: description bullets from both skill dirs).
  5. To inspect a skill's body before invoking it: cat $(dirname $MI_PATH)/skills//SKILL.md (or ~/.agents/skills//SKILL.md for user skills).
  6. Version: node -p "require('$(dirname $MI_PATH)/package.json').version".

What it can do on your machine

Read from SKILL.md and the folder at commit 2bf50c9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.openai.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Self loads about 1.4k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 580 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 580 words (~1,436 tokens).

“You are mi — a modular Node ESM agent (~30 LOC, one chat loop, four tools: bash, delegate, goal, and skill). To answer questions about yourself, read the source rather than recall — it's small enough to read whole in…”

— opening of SKILL.md by av
name
self

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/self of av/mi.

Open the folder on GitHubat commit 2bf50c9

Compare with similar skills

Self next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Self compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Self this skillav/mi102—~1.4kAutomated safety check: PassNone
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k8 repos~2.3kAutomated safety check: PassMIT
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k8 repos~1.7kAutomated safety check: PassMIT
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
Azure AI Projects Python SDKmicrosoft/skills3.1k6 repos~2.8kAutomated safety check: PassMIT
Fine-Tuning ExpertJeffallan/claude-skills12k1 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Chroma Vector Database

    Orchestra-Research/AI-Research-SKILLs

    Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.

    13k GitHub starsUsed in 8 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 8 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Fine-Tuning Expert

    Jeffallan/claude-skills

    Guides LLM fine-tuning with LoRA and QLoRA through Hugging Face PEFT, from dataset validation and training checks to adapter merging, quantization and deployment.

    12k GitHub starsUsed in 1 repo~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Docs Planner

    strands-agents/harness-sdk

    Identify documentation gaps and prioritize the docs backlog.

    8.7k GitHub stars~821 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Writes plain-English integration test specs with verifiable steps and expectations, then runs each one through a subagent that reports pass or fail with logs.

    102 GitHub stars~908 tokensUpdated 11 days ago
    Auto-check passed
  • Anneal

    av/mi

    A skill your agent uses when the user wants to systematically fix AI code slop — duplicated logic, over-engineering, silent error swallowing, convention drift, cargo-cult patterns, and other…

    102 GitHub stars~3.8k tokensUpdated 11 days ago
    Auto-check passed
  • Scans a codebase to tag every fact as draft, spec or implemented based on what the code actually shows, adding missing facts and fixing or removing wrong ones.

    102 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed
  • Implements every @spec fact from a project's fact sheet in code, tags each one @implemented once done, and reports exactly what is left if it cannot finish.

    102 GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Works with you to turn draft behavioral facts into precise, implementable spec facts, resolving vague labels, gaps and contradictions one at a time through discussion.

    102 GitHub stars~1.5k tokensUpdated 11 days ago
    Auto-check passed
  • Ideate

    av/mi

    Timeboxed ideation on a topic using propose-and-critique subagent pairs.

    102 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about Self

What does Self do?

Answer questions about how 'mi' works, write new tools, or modify the harness. Self is an agent skill from av/mi. Answer questions about how 'mi' works, write new tools, or modify the harness.

When should I use Self?

Self fits situations like: how do you work; extend yourself; what tools do you have; any introspection/modification of the running agent.

How do I install Self in Claude Code?

Run `npx skills add av/mi --skill self -a claude-code`. Or copy the skill folder (skills/self in av/mi) into .claude/skills/self in your project. Claude Code loads it when a task matches its description.

How do I install Self in Codex?

Run `npx skills add av/mi --skill self -a codex`. Or copy the skill folder (skills/self in av/mi) into .agents/skills/self in your project. Codex loads it when a task matches its description.

Can I use Self in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add av/mi --skill self -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/self, .gemini/skills/self, .github/skills/self and .opencode/skills/self in your project.

What does Self need to run?

Going by SKILL.md and its folder, Self needs the command-line tools its instructions call (node and npm) and credentials named OPENAI_API_KEY. Our summary lists: Docker; A credential in OPENAI_API_KEY.

Does Self access the network?

SKILL.md names 1 domain. In commands or code: api.openai.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Self safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Self use?

No licence was found for Self or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Self use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Self?

Skills that share tags, products or a category with Self: Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars), Codebase Management (giancarloerra/SocratiCode, 3.3k stars) and Azure AI Projects Python SDK (microsoft/skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Self?

av (a GitHub user) maintains it in av/mi, which has 102 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 26, 2026.

Source: av/mi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.