leogriel AGENTS.md

leogriel AGENTS.md is an instructions file for Codex, OpenCode from xFurti/leogriel. It costs 607 tokens per session, scanned A, original, MIT.

Repository instructions for leogriel, a pnpm workspace containing multiple TypeScript packages and a command-line tool. They describe the project layout, commands, naming style, and testing rules.

In plain words
What is it for?
Use them when building, testing, linting, or changing packages in the leogriel repository. They also explain how to work with its command-line tool and documentation.
Why use it?
They give coding agents the project's expected structure and development routine. This reduces misplaced files, untested changes, and accidental commits of generated files.

Instructions file for CodexOpenCode

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/xfurti/leogriel/agents-md
Clone the repo
git clone --depth 1 https://github.com/xFurti/leogriel

Made for: Codex, OpenCode.

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 leogriel AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xfurti/leogriel/agents-md.svg)](https://agentmods.dev/instructions/xfurti/leogriel/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/xfurti/leogriel/agents-md"><img src="https://agentmods.dev/badge/instructions/xfurti/leogriel/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 607 This file is loaded in full into every session.
When invoked 607 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.00607 $0.00607
Opus 5 $0.00303 $0.00303
Sonnet 5 $0.00121 $0.00121
Haiku 4.5 $0.00061 $0.00061

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

Security

Grade A, and why

leogriel AGENTS.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 3d 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.

AGENTS.md · 28 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

This repository is a pnpm workspace of TypeScript packages under packages/. The public CLI lives in packages/cli; shared behavior is split among core, manifest, lockfile, registry, link-manager, adapters, import, security, plugin-system, and project-state. Production code belongs in each package's src/, with tests in src/test/ and fixtures beside the package that consumes them. The first-party Agent Skill is in skills/leogriel/. Browser documentation and static assets live in docs/; brand artwork is in brand/; release utilities are in scripts/. Do not commit generated dist/, node_modules/, or environment files.

Build, Test, and Development Commands

  • pnpm install installs all workspace dependencies (Node.js >= 22.13, pnpm 11.x).
  • pnpm build builds every package; use pnpm build:cli for only the CLI.
  • pnpm dev watches/runs the CLI package during development.
  • node packages/cli/bin/leogriel.js --help exercises the locally built executable.
  • pnpm test runs all package test suites.
  • pnpm test:coverage enforces repository coverage thresholds.
  • pnpm lint runs each workspace package's TypeScript checks.

Coding Style & Naming Conventions

Use strict TypeScript and ESM imports, including .js extensions for local imports. Follow existing formatting: two-space indentation, single quotes, semicolons, trailing commas, and minimal comments. Use camelCase for variables/functions, PascalCase for types, and kebab-case filenames such as normalize-specifier.ts. Keep public exports intentional through package src/index.ts files. Prefer small modules with package ownership over adding cross-package shortcuts.

Testing Guidelines

Tests use node:test with node:assert/strict; name files *.test.ts under src/test/. Add regression tests in the package whose behavior changes, including failure and platform-sensitive cases. Run pnpm build && pnpm test before submitting. Coverage must remain at least 60% for lines, functions, and statements, and 50% for branches.

Read the full file on GitHub · 28 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. 3d ago First seen · 28 lines · 607 tokens per session scan A 62f3c51ba028

Subscribe to this mod's changes

leogriel AGENTS.md is an instructions file published in the GitHub repository xFurti/leogriel (2 stars, last pushed 1mo ago), licensed MIT. It adds 607 tokens to every session, about $0.0030 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