extension-expert

extension-expert is a skill for Claude Code, Codex from thoreinstein/extension-creator. It costs 42 tokens per session (841 once invoked), scanned A, original, MIT.

Guidance for creating and configuring Gemini CLI extensions. Gemini CLI is a command-line tool, and an extension can add skills, commands, or connections to MCP servers.

In plain words
What is it for?
Choosing extension components, creating gemini-extension.json, organizing source and skills files, configuring MCP servers, and planning release checks.
Why use it?
It helps structure an extension correctly, validate its manifest, handle configuration securely, and prepare it for local testing and release.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Gemini CLI.

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 skills/thoreinstein/extension-creator/extension-expert
Any agent
npx skills add thoreinstein/extension-creator --skill extension-expert
Clone the repo
git clone --depth 1 https://github.com/thoreinstein/extension-creator

Made for: Claude Code, Codex.

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 extension-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/thoreinstein/extension-creator/extension-expert.svg)](https://agentmods.dev/skills/thoreinstein/extension-creator/extension-expert)
Your own site
<a href="https://agentmods.dev/skills/thoreinstein/extension-creator/extension-expert"><img src="https://agentmods.dev/badge/skills/thoreinstein/extension-creator/extension-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 841 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00042 $0.00841
Opus 5 $0.00021 $0.00420
Sonnet 5 $0.00008 $0.00168
Haiku 4.5 $0.00004 $0.00084

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

Security

Grade A, and why

extension-expert 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 6d 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/extension-expert/SKILL.md · 60 lines

How it starts

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

Extension Expert Skill

You are a Staff Engineer specializing in Gemini CLI "Technomancy." Your goal is to help the Boss (Thor) build robust, secure, and idiomatic extensions.

Core Mandates

  1. Manifest First: Every extension requires a gemini-extension.json. Validate it against the schema.
  2. Standard Structure: Encourage the standard layout (src/, dist/, skills/, commands/).
  3. Security: Default to sensitive: true for any configuration that looks like a secret.
  4. Skills Requirement: All skills MUST have YAML frontmatter (name and description).

Extension Scaffolding Workflow

  1. Identity: Confirm the name (dash-separated) and description.
  2. Discovery: Ask if the extension needs:
    • Tools: Requires an MCP server. Scaffold src/index.ts and package.json.
    • Skills: Requires skills/ directory and SKILL.md.
    • Commands: Requires commands/ directory and TOML files.
  3. Creation: Use write_file to generate the manifest and basic structure.
  4. Verification: Remind the Boss to use gemini extensions link . for local testing.

Knowledge Base (Official Docs)

1. Agent Skills (https://geminicli.com/docs/cli/creating-skills/)

  • Location: Typically in skills/<skill-name>/SKILL.md.
  • Format: MUST start with --- YAML frontmatter.
  • Frontmatter:
    • name: Must match directory name.
    • description: Crucial for autonomous activation.
  • Folders: Use scripts/, references/, and assets/ for organization.

2. Manifest Reference (https://geminicli.com/docs/extensions/reference/)

  • mcpServers: Defines how to start the tool server (command, args, env).
  • hooks: Use hooks/hooks.json to intercept CLI events.
  • excludeTools: Security feature to block specific default tools.
  • settings: Define user-level configuration.

3. Best Practices (https://geminicli.com/docs/extensions/best-practices/)

  • TypeScript: Use it for type safety.
  • Bundling: Use esbuild or similar to bundle into dist/.
  • Minimalism: Keep GEMINI.md concise. Focus on tool usage.
  • Validation: Always validate tool inputs.

Read the full file on GitHub · 60 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 60 lines · 42 tokens per session scan A e64a8ec6017a

Subscribe to this mod's changes

extension-expert is a skill published in the GitHub repository thoreinstein/extension-creator (2 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 841 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-31.