skillsmith: Instructions file for Gemini CLI

GEMINI.md

skillsmith GEMINI.md is an instructions file for Gemini CLI from ApexIQ/skillsmith. It costs 908 tokens per session, scanned A, original, MIT.

A set of Gemini CLI instructions for the skillsmith project, covering its development workflow, project rules, memory use, and command system.

In plain words
What is it for?
Use it to guide project discovery, planning, implementation, review, testing, shipping, and recording lessons.
Why use it?
It tells Gemini which project information to read and which process to follow before making changes.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions subagents; mentions AGENTS.md; mentions Gemini CLI.

This is ApexIQ/skillsmith's own configuration. It tells Gemini CLI how to work on skillsmith itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skillsmith configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ApexIQ/skillsmith. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ApexIQ/skillsmith/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/ApexIQ/skillsmith

Made for: Gemini CLI.

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 skillsmith GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/apexiq/skillsmith/gemini-md/github.svg)](https://agentmods.dev/instructions/apexiq/skillsmith/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/apexiq/skillsmith/gemini-md"><img src="https://agentmods.dev/badge/instructions/apexiq/skillsmith/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skillsmith GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/apexiq/skillsmith/gemini-md"><img src="https://agentmods.dev/badge/instructions/apexiq/skillsmith/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 908 This file is loaded in full into every session.
When invoked 908 The same file — it is already loaded in full.
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.00908 $0.00908
Opus 5.5 $0.00363 $0.00363
Sonnet 5.5 $0.00182 $0.00182
Haiku 4.5 $0.00091 $0.00091

Measured 1mo ago against content hash 888359eced89, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skillsmith GEMINI.md 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 1mo 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.

GEMINI.md · 74 lines

How it starts

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

GEMINI.md

Prime Directives

  1. Read AGENTS.md, .agent/STATE.md, and .agent/lessons.md first.
  2. Read .agent/principles/CORE_PRINCIPLES.md for project behavioral rules.
  3. Read .agent/project_profile.yaml, and .agent/context/project-context.md.
  4. Search .agent/skills/ before implementation.
  5. Follow the 7-Stage Workflow: Discover → Plan → Build → Review → Test → Ship → Reflect.

7-Stage Workflow

  1. Discover: Audit profile, context, and code for constraints.
  2. Plan: Define minimal patch with verification points.
  3. Build: Implement atomic changes in isolation.
  4. Review: Adversarial check for risks and regressions.
  5. Test: Identify highest-risk behavior and verify.
  6. Ship: Generate clean handoff with evidence.
  7. Reflect: Record lessons and update project state.

Execution Policy

  • Plan before coding for non-trivial work (3+ steps or architectural impact).
  • Keep changes minimal, explicit, and easy to verify.
  • Use subagents only when parallelism or specialization is clearly beneficial.
  • Verify with tests/checks before marking done.

Memory and Cost Policy

  • Library-First: skillsmith is the source of truth for memory.
  • Mandatory Memory Protocol:
    • Read .agent/lessons.md (Layer 2) for long-term project memory and past mistakes.
    • Log tactical events to .agent/logs/raw_events.jsonl (Layer 1).
  • Autonomous Evolution:
    • Run skillsmith evolve reflect after multi-step missions to distill logs into lessons.
  • Use the five-layer pattern: observer, reflector, recovery, watcher, safeguard.
  • Cache reuse must be guarded by TTL and context/policy fingerprints.

Role Use

  • orchestrator: own task framing, delegation decisions, and final readiness.
  • researcher: collect repository facts, constraints, and edge cases first.
  • implementer: apply minimal code changes with verification evidence.
  • reviewer: perform findings-first checks for correctness and regressions.

Role Handoff

  • Pass goal, scope, file list, risks, and verification evidence between roles.
  • Prefer researcher -> implementer -> reviewer -> orchestrator for non-trivial work.

Read the full file on GitHub · 74 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. 1mo ago First seen · 74 lines · 908 tokens per session scan A 888359eced89

Subscribe to this mod's changes

skillsmith GEMINI.md is an instructions file published in the GitHub repository ApexIQ/skillsmith (5 stars, last pushed 7mo ago), licensed MIT. It adds 908 tokens to every session, about $0.0036 per session on Opus 5.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-03.

Related

Other instructions, from other repositories