Agentlas-OS: Instructions file for Gemini CLI

GEMINI.md

Agentlas-OS GEMINI.md is an instructions file for Gemini CLI from agentlas-ai/Agentlas-OS. It costs 634 tokens per session, scanned A, original, Apache-2.0.

A Gemini CLI instruction file for using the Agentlas engine and its agent-building commands. Gemini CLI is a command-line tool for working with Gemini, Google's AI models.

In plain words
What is it for?
Running Agentlas through Gemini CLI or Google Antigravity, building agents, and keeping private project material out of public packages.
Why use it?
It tells Gemini how to start, which project files define the rules, how to choose an operating mode, and what may be included in a public release.

Instructions file for Gemini CLI

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

This is agentlas-ai/Agentlas-OS's own configuration. It tells Gemini CLI how to work on Agentlas-OS 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 Agentlas-OS configures →

About the project

Agentlas OS is a local-first system for creating, storing, borrowing, and running specialist AI agents and temporary agent teams through supported hosts and models. It serves people who want reusable agents that remain available across computers and model workspaces, and the catalogue contains its skills, commands, hooks, agents, instructions, plugin, and rule.

agentlas-ai/Agentlas-OS · 1,413 stars · on GitHub · agentlas.cloud

Reuse

Borrowing it

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

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 Agentlas-OS GEMINI.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agentlas-ai/agentlas-os/gemini-md"><img src="https://agentmods.dev/badge/instructions/agentlas-ai/agentlas-os/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 634 This file is loaded in full into every session.
When invoked 634 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.00634 $0.00634
Opus 5.5 $0.00254 $0.00254
Sonnet 5.5 $0.00127 $0.00127
Haiku 4.5 $0.00063 $0.00063

Measured yesterday against content hash a2ea895f9d2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Agentlas-OS 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 yesterday.

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 · 59 lines

How it starts

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

Antigravity Adapter

This is a thin Antigravity adapter (Antigravity reads GEMINI.md) for the Agentlas Core Engine Meta-Agent Team. AGENTS.md is the canonical source of truth.

Public Release Boundary

For public GitHub work, stage only end-user install/runtime files and public README/LICENSE/CHANGELOG material. Never stage internal docs, research, benchmarks, tests or fixtures, logs/results, signing or credential material, environment files, private paths/memory, or unrelated local work. Verify the staged archive, not the dirty working tree.

Google Antigravity keeps its data under ~/.gemini/ and auto-loads this file and AGENTS.md. Its /agentlas-build, /agentlas-cloud, and /agentlas-network slash commands ship as Antigravity workflows under antigravity/workflows/.

Startup

  1. Read AGENTS.md.
  2. Read .agents/agentlas-core-engine-meta-agent/agent.md.
  3. Read .agentlas/mode-map.json.
  4. Use runtime-support/skills/mode-classification/SKILL.md to choose the mode.
  5. If missing details would change files, adapters, or public/private boundary, use runtime-support/skills/clarify-question-loop/SKILL.md.
  6. Route to one core team member:
    • 10-single-agent-builder;
    • 20-multi-agent-team-builder;
    • 30-agentlas-packager;
    • 40-session-agent-builder.
  7. Use runtime-support/skills/agentlas-auto-activation/SKILL.md when local project continuity or .agentlas activation is part of the output.
  8. Use .agentlas/memory-map.json for memory routing.
  9. Use .agentlas/global-commands.json for generated command routing and final user handoff.

Default Behavior

Create or package portable Markdown-first Agentlas agents and teams with Codex, Claude Code, Antigravity, Cursor, and AGENTS.md adapters.

Global Command

This package exposes /agentlas-build, /agentlas-cloud, and /agentlas-network for Antigravity as workflows at antigravity/workflows/agentlas-*.md (global install target ~/.gemini/antigravity/global_workflows/; project fallback .agents/workflows/). Generated agents must receive their own Antigravity workflow and a matching .agentlas/global-commands.json entry. The Gemini CLI is no longer a supported host (its individual tier ended 2026-06-18; Antigravity is the successor).

Read the full file on GitHub · 59 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. yesterday Changed · -1 lines · -46 tokens per session a2ea895f9d2b
  2. 1mo ago Changed · -1 lines · -13 tokens per session ae191bf4a5e9
  3. 3mo ago First seen · 61 lines · 693 tokens per session scan A c8765622d8c1

Subscribe to this mod's changes

Agentlas-OS GEMINI.md is an instructions file published in the GitHub repository agentlas-ai/Agentlas-OS (1,413 stars, last pushed yesterday), licensed Apache-2.0. It adds 634 tokens to every session, about $0.0025 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

Agentlas-OS GEMINI.md compared with instructions from other repositories

Agentlas-OS GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Agentlas-OS GEMINI.mdagentlas-ai/Agentlas-OSInstructions file1.4kyesterdayApache-2.0A634Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot