task-cli: Instructions file for Gemini CLI

GEMINI.md

task-cli GEMINI.md is an instructions file for Gemini CLI from sunjiawe/task-cli. It costs 13,771 tokens per session, scanned A, original, Apache-2.0.

A guide for building software with large-language-model agents, where people define the system and the agents implement it. It describes a workflow covering requirements, design, data, utilities and implementation.

In plain words
What is it for?
Use it to plan and build LLM-based projects, decide what humans and agents should handle, and organize project files and core abstractions.
Why use it?
It gives human and AI collaborators clearer responsibilities and encourages small solutions, written designs and regular feedback.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is sunjiawe/task-cli's own configuration. It tells Gemini CLI how to work on task-cli 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 task-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sunjiawe/task-cli. 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/sunjiawe/task-cli/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/sunjiawe/task-cli

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 task-cli GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sunjiawe/task-cli/gemini-md/github.svg)](https://agentmods.dev/instructions/sunjiawe/task-cli/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/sunjiawe/task-cli/gemini-md"><img src="https://agentmods.dev/badge/instructions/sunjiawe/task-cli/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 task-cli GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sunjiawe/task-cli/gemini-md"><img src="https://agentmods.dev/badge/instructions/sunjiawe/task-cli/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,771 This file is loaded in full into every session.
When invoked 13,771 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.13771 $0.13771
Opus 5.5 $0.05508 $0.05508
Sonnet 5.5 $0.02754 $0.02754
Haiku 4.5 $0.01377 $0.01377

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

Security

Grade A, and why

task-cli 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 2mo 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 · 1,669 lines

How it starts

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

Agentic Coding: Humans Design, Agents code!

If you are an AI agent involved in building LLM Systems, read this guide VERY, VERY carefully! This is the most important chapter in the entire document. Throughout development, you should always (1) start with a small and simple solution, (2) design at a high level (docs/design.md) before implementation, and (3) frequently ask humans for feedback and clarification. {: .warning }

Agentic Coding Steps

Agentic Coding should be a collaboration between Human System Design and Agent Implementation:

Steps Human AI Comment
1. Requirements ★★★ High ★☆☆ Low Humans understand the requirements and context.
2. Flow ★★☆ Medium ★★☆ Medium Humans specify the high-level design, and the AI fills in the details.
3. Utilities ★★☆ Medium ★★☆ Medium Humans provide available external APIs and integrations, and the AI helps with implementation.
4. Data ★☆☆ Low ★★★ High AI designs the data schema, and humans verify.
5. Node ★☆☆ Low ★★★ High The AI helps design the node based on the flow.
6. Implementation ★☆☆ Low ★★★ High The AI implements the flow based on the design.
7. Optimization ★★☆ Medium ★★☆ Medium Humans evaluate the results, and the AI helps optimize.
8. Reliability ★☆☆ Low ★★★ High The AI writes test cases and addresses corner cases.
  1. Requirements: Clarify the requirements for your project, and evaluate whether an AI system is a good fit.
    • Understand AI systems' strengths and limitations:
      • Good for: Routine tasks requiring common sense (filling forms, replying to emails)
      • Good for: Creative tasks with well-defined inputs (building slides, writing SQL)
      • Not good for: Ambiguous problems requiring complex decision-making (business strategy, startup planning)
    • Keep It User-Centric: Explain the "problem" from the user's perspective rather than just listing features.
    • Balance complexity vs. impact: Aim to deliver the highest value features with minimal complexity early.

Read the full file on GitHub · 1,669 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. 2mo ago First seen · 1,669 lines · 13,771 tokens per session scan A 272ad8abf3cc

Subscribe to this mod's changes

task-cli GEMINI.md is an instructions file published in the GitHub repository sunjiawe/task-cli (2 stars, last pushed 1y ago), licensed Apache-2.0. It adds 13,771 tokens to every session, about $0.0551 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-08-31.

Related

task-cli GEMINI.md compared with instructions from other repositories

task-cli GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
task-cli GEMINI.mdsunjiawe/task-cliInstructions file21y agoApache-2.0A13,771Gemini CLI
team-foundry copilot-instructions.mdtomershahar/team-foundryInstructions file13mo agoMITA64GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot