yocto-lens AGENTS.md

yocto-lens AGENTS.md is an instructions file for Codex, OpenCode from prashantdivate/yocto-lens. It costs 247 tokens per session, scanned A, original, MIT.

Project-specific instructions for Codex when working on Yocto Lens, a Go program that analyzes Yocto Project and OpenEmbedded build metadata.

In plain words
What is it for?
Use them before changing Yocto Lens rules, parsing, exports, command-line behavior, or documentation, and when answering related questions.
Why use it?
They set expectations for reliable analyzer rules, deterministic results, low false-alarm rates, tests, documentation, and safe project changes.

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/prashantdivate/yocto-lens/agents-md
Clone the repo
git clone --depth 1 https://github.com/prashantdivate/yocto-lens

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 yocto-lens AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/prashantdivate/yocto-lens/agents-md.svg)](https://agentmods.dev/instructions/prashantdivate/yocto-lens/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/prashantdivate/yocto-lens/agents-md"><img src="https://agentmods.dev/badge/instructions/prashantdivate/yocto-lens/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 247 This file is loaded in full into every session.
When invoked 247 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.00247 $0.00247
Opus 5 $0.00123 $0.00123
Sonnet 5 $0.00049 $0.00049
Haiku 4.5 $0.00025 $0.00025

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

Security

Grade A, and why

yocto-lens 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 5d 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 · 29 lines

What it actually says

Codex Agent Instructions

You are working on Yocto Lens, a Go static analysis tool for Yocto Project and OpenEmbedded metadata.

Follow the shared agent guide in docs/AI_AGENTS.md before changing analyzer rules, parser behavior, exports, CLI behavior, or documentation. Also use that guide when answering user questions about Yocto Project, BitBake metadata, Yocto Lens findings, or CI integration.

Important defaults:

  • Prefer official Yocto Project and BitBake documentation before making rule changes.
  • Prefer official Yocto Project and BitBake documentation before answering Yocto behavior questions.
  • Reduce false positives aggressively; CI users need high-signal findings.
  • Keep analyzer output deterministic.
  • Add tests for new rules and for false-positive cases.
  • Use gofmt and go test ./... when Go tooling is available.
  • Commit each implemented improvement separately when the user asks for trackable changes.

Useful commands:

gofmt -w .
go test ./...
go run .\cmd\yocto-lens --no-tui .
go run .\cmd\yocto-lens --profile .
git diff --check

Do not push unless the user explicitly asks.

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. 5d ago First seen · 29 lines · 247 tokens per session scan A 3727d4e8ef95

Subscribe to this mod's changes

yocto-lens AGENTS.md is an instructions file published in the GitHub repository prashantdivate/yocto-lens (22 stars, last pushed 1mo ago), licensed MIT. It adds 247 tokens to every session, about $0.0012 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-30.

Related

Other instructions, from other repositories

android-native-init-lab AGENTS.md

AGENTS.md instructions for Temmie-Tem/android-native-init-lab, covering agents.md - repository operating contract, authority and precedence, binding target registry, permanent device safety boundaries and permanent repository and evidence boundaries.

Temmie-Tem/android-native-init-lab · 7,993 tokens

android-native-init-lab CLAUDE.md

Claude Code instructions for Temmie-Tem/android-native-init-lab: AGENTS.md is the root binding operating and device-safety contract in this repository. Select exactly one binding target contract from its registry, then read AGENTS.md, that target contract, and the target goal in that order. GOAL.md defines the S22+…

Temmie-Tem/android-native-init-lab · 511 tokens

best-claude-hud AGENTS.md

Instructions for GaoSSR/best-claude-hud, covering project agent instructions and release work.

GaoSSR/best-claude-hud · 215 tokens

mcp-screenshot-server CLAUDE.md

Claude Code instructions for sethbang/mcp-screenshot-server, covering claude.md, what this is, commands, environment variables and architecture.

sethbang/mcp-screenshot-server · 1,222 tokens

logic-lens GEMINI.md

Instructions for hyhmrright/logic-lens, covering logic-lens — developer guide (gemini cli), invoking skills, installation, project layout and key conventions.

hyhmrright/logic-lens · 285 tokens

plan-forge dapr.instructions.md

Dapr patterns for .NET — building blocks, component config, sidecar architecture, multi-tenant isolation, workflows, state management, secrets.

srnichols/plan-forge · 4,968 tokens