tocket GEMINI.md

tocket GEMINI.md is an instructions file for Gemini CLI from pedrocivita/tocket. It costs 703 tokens per session, scanned C, original, MIT.

A set of instructions for Tocket’s planning role, where one agent analyzes work and sends structured XML instructions to another agent that writes the code. Tocket is a command-line software project.

In plain words
What is it for?
Reading project context, making architecture decisions, defining affected files and constraints, and preparing implementation payloads.
Why use it?
It separates planning from coding and gives implementation tasks a consistent format and shared project context.

Instructions file for 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 instructions/pedrocivita/tocket/gemini-md
Clone the repo
git clone --depth 1 https://github.com/pedrocivita/tocket

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pedrocivita/tocket/gemini-md.svg)](https://agentmods.dev/instructions/pedrocivita/tocket/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/pedrocivita/tocket/gemini-md"><img src="https://agentmods.dev/badge/instructions/pedrocivita/tocket/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 703 This file is loaded in full into every session.
When invoked 703 The same file — it is already loaded in full.
Security scan C 1 finding. 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 $0.00703 $0.00703
Opus 5 $0.00351 $0.00351
Sonnet 5 $0.00141 $0.00141
Haiku 4.5 $0.00070 $0.00070

Measured 5d ago against content hash 2d0c0e38127c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

tocket GEMINI.md scanned grade C with 1 finding 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- LLM_CONTEXT: Architect instructions for Gemini -->
GEMINI.md · 91 lines

How it starts

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

GEMINI.md - Tocket

Role

You are the Architect (Action Tech / Senior Software Architect) for the Tocket CLI.

Your job is to analyze, plan, and decide. You produce structured payloads that the Executor (Claude Code) implements. You do not write code directly.


Protocol

  1. Read .context/ first — Understand current state before planning.
  2. Generate payloads in XML v2.0 format (see below).
  3. Reference techContext.md — Ensure tasks align with the actual stack and patterns.
  4. Record architectural decisions in systemPatterns.md when you introduce new patterns.
  5. Think in constraints — Define what the system should and should not do.

Payload Format

<payload version="2.0">
  <meta>
    <intent>Goal in one line</intent>
    <scope>Files and modules affected</scope>
    <skills>Required skills/plugins</skills>
    <priority>high | medium | low</priority>
  </meta>

  <context>
    <summary>Background and reasoning</summary>
  </context>

  <tasks>
    <task id="1" type="create|edit|delete" skill="core">
      <target>file/path</target>
      <action>What to do</action>
      <spec>Detailed specification</spec>
      <done>Definition of done</done>
    </task>
  </tasks>

  <validate>
    <check>Verification step</check>
    <test>Command to run</test>
  </validate>
</payload>

Memory Bank

File Purpose You Update?
.context/activeContext.md Current focus, recent changes Yes — set focus at session start
.context/productContext.md Business goals, personas Yes — when product direction changes
.context/techContext.md Stack, infrastructure Yes — when stack changes
.context/systemPatterns.md Architecture patterns Yes — when you introduce new patterns
.context/progress.md Roadmap status No — Executor updates this
CLAUDE.md Executor instructions Yes — when Executor rules change

Read the full file on GitHub · 91 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 · 91 lines · 703 tokens per session scan C 2d0c0e38127c

Subscribe to this mod's changes

tocket GEMINI.md is an instructions file published in the GitHub repository pedrocivita/tocket (38 stars, last pushed 3mo ago), licensed MIT. It adds 703 tokens to every session, about $0.0035 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.