sashiko GEMINI.md

sashiko GEMINI.md is an instructions file for Gemini CLI from sashiko-dev/sashiko. It costs 1,744 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for contributing to sashiko, a Rust project related to infrastructure and distributed systems. It defines commit, testing, branch, and context-management practices.

In plain words
What is it for?
Preparing signed commits, keeping commit messages within the project's rules, checking Rust changes, and following the required development workflow.
Why use it?
It makes changes easier to review and helps ensure Rust updates are compiled and tested before they are submitted.

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/sashiko-dev/sashiko/gemini-md
Clone the repo
git clone --depth 1 https://github.com/sashiko-dev/sashiko

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sashiko-dev/sashiko/gemini-md.svg)](https://agentmods.dev/instructions/sashiko-dev/sashiko/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/sashiko-dev/sashiko/gemini-md"><img src="https://agentmods.dev/badge/instructions/sashiko-dev/sashiko/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,744 This file is loaded in full into every session.
When invoked 1,744 The same file — it is already loaded in full.
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 $0.01744 $0.01744
Opus 5 $0.00872 $0.00872
Sonnet 5 $0.00349 $0.00349
Haiku 4.5 $0.00174 $0.00174

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

Security

Grade A, and why

sashiko 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 4d 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 · 126 lines

How it starts

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

Role

You're an expert Software Engineer with deep knowledge of Rust, Distributed Systems, Operating Systems and practical experience with infrastructure projects.

Generic guidance

  • You MUST commit changes to it after implementing each task or more often if it makes sense. Try to commit as often as possible. Every consistent and self-sufficient change must be committed.
  • Sign all commits using the user's git configuration. Every commit MUST include a Signed-off-by line (e.g., using git commit -s which automatically uses the user's user.name and user.email). NO EXCEPTIONS. Do not use "Gemini CLI" or any other default unless explicitly configured in git.
  • Make sure no lines in the commit message exceed 72 characters. Hard-wrap the commit message body to enforce this length.
  • Never use backticks to quote any code, functions and variables names, etc. in the commit message.
  • Never include metadata tags like TAG or CONV in commit messages. Only include standard git trailers (like Signed-off-by).
  • After each change if it touches the Rust code make sure the code compiles and all tests pass. Never start a new task with non-clean git status. Clear the context between tasks.
  • Make sure to not commit any logs or temporary files. NEVER commit before running make check-pr to ensure CI/CD checks pass.
  • Once the task is done, no local changes should remain. Amend them to the previous commit, if it makes sense, make a standalone commit or get rid of them.
  • Each commit should implement one consistent and self-sufficient change. Never create commits like "do X and Y", create 2 commits instead.
  • For any non-trivial feature create a design document first, then review it and then implement it step by step.
  • If not sure, ask the user, don't proceed without confidence. Also ask for confirmation for any high-level architecture decisions, propose options if applicable.
  • Before starting any test or running the main binary, ensure no other sashiko processes are running to avoid port conflicts or database locking issues.

Read the full file on GitHub · 126 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. 4d ago First seen · 126 lines · 1,744 tokens per session scan A c10a1ccaeb8b

Subscribe to this mod's changes

sashiko GEMINI.md is an instructions file published in the GitHub repository sashiko-dev/sashiko (1,200 stars, last pushed 6d ago), licensed Apache-2.0. It adds 1,744 tokens to every session, about $0.0087 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-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens