seoagent GEMINI.md

A set of instructions for working on SEOAgent, a TypeScript monorepo—a single repository containing several related packages—with Gemini CLI. SEOAgent includes core logic, a command-line tool, an MCP server, and a web dashboard.

In plain words
What is it for?
Use it when developing SEOAgent features, commands, MCP tools, dashboard behavior, or tests.
Why use it?
It tells the coding agent where features belong, how the packages are organized, and which commands run the build and tests. This helps changes stay in the shared core instead of being implemented inconsistently in each interface.

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

Made for: Gemini CLI.

Per session 348 This file is loaded in full into every session.
When invoked 348 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.00348 $0.00348
Opus 5 $0.00174 $0.00174
Sonnet 5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

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

Security

Grade A, and why

seoagent 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 2d 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 · 47 lines

What it actually says

SEOAgent — Gemini Agent Instructions

See AGENTS.md for full details. This file covers Gemini-specific setup.

Overview

SEOAgent is a TypeScript monorepo (pnpm workspaces) with 4 packages:

  • @seoagent/core — all logic (260 tests)
  • seoagent — CLI (commander.js)
  • seoagent-mcp — MCP server (24 tools)
  • @seoagent/dashboard — Vite + React web UI

Commands

pnpm install          # install
pnpm build            # build all
pnpm test             # test all

Key Principle

Every feature is a function in packages/core/src/ first. CLI, MCP, and dashboard are thin wrappers. If you're adding functionality, start in core.

File Layout

  • Business logic: packages/core/src/*.ts and subdirectories (audit/, gsc/, strategy/, providers/)
  • Types: packages/core/src/types.ts
  • Public API: packages/core/src/index.ts (barrel)
  • Tests: packages/core/src/__tests__/
  • CLI: packages/cli/src/commands/
  • MCP: packages/mcp/src/tools/
  • Dashboard API: packages/dashboard/src/server/routes.ts
  • Dashboard UI: packages/dashboard/src/app/pages/

Testing

Vitest with globals. Mock external APIs. Use temp dirs with SEOAGENT_HOME env var.

Refer to AGENTS.md for

  • Full function signatures
  • MCP installation config
  • CLI command reference
  • Testing patterns
  • How to add new features
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. 2d ago First seen · 47 lines · 348 tokens per session scan A 7c88d4ca9851

Subscribe to this mod's changes

seoagent GEMINI.md is an instructions file published in the GitHub repository yagomp/seoagent (0 stars, last pushed 4mo ago), licensed MIT. It adds 348 tokens to every session, about $0.0017 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-31.

Related

Other instructions, from other repositories