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 680 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,613 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 680 This file is loaded in full into every session.
When invoked 680 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.00680 $0.00680
Opus 5.5 $0.00272 $0.00272
Sonnet 5.5 $0.00136 $0.00136
Haiku 4.5 $0.00068 $0.00068

Measured 4d ago against content hash ae191bf4a5e9, 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 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 · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 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

The Public Release Allowlist (Hard Rule) in AGENTS.md is mandatory. 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 /hep-build, /hep-network, /hep-local, /hep-cloud, and /hep-hub slash commands ship as Antigravity workflows under antigravity/ (see antigravity/README.md).

Startup

  1. Read AGENTS.md.
  2. Read .agents/agentlas-core-engine-meta-agent/agent.md.
  3. Read .agentlas/mode-map.json.
  4. Use .agents/skills/mode-classification/SKILL.md to choose the mode.
  5. If missing details would change files, adapters, or public/private boundary, use .agents/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 .agents/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 /hep-build, /hep-network, /hep-local, /hep-cloud, and /hep-hub for Antigravity as workflows at antigravity/workflows/hep-*.md (global install target ~/.gemini/antigravity/global_workflows/hep-*.md; project fallback .agents/workflows/hep-*.md). 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 · 60 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 Changed · -1 lines · -13 tokens per session ae191bf4a5e9
  2. 1mo 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,613 stars, last pushed 3d ago), licensed Apache-2.0. It adds 680 tokens to every session, about $0.0027 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

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 · 9,649 tokens

next.js AGENTS.md

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,257 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens