skills: Instructions file for Codex

AGENTS.md

skills AGENTS.md is an instructions file for Codex, OpenCode from langfuse/skills. It costs 1,400 tokens per session, scanned A, original, MIT.

Project instructions for maintaining Langfuse skills and related plugin changes. Langfuse is a platform for observing and evaluating applications that use language models.

In plain words
What is it for?
Use them when adding or improving Langfuse skill use cases, changing skill paths, updating plugin versions, or reviewing pull requests.
Why use it?
They give contributors rules for deciding when a new skill use case is justified and where routing guidance should live, reducing unnecessary documentation and maintenance work.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code; mentions AGENTS.md.

This is langfuse/skills's own configuration. It tells Codex and OpenCode how to work on skills 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 skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to langfuse/skills. 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/langfuse/skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/langfuse/skills

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/langfuse/skills/agents-md/github.svg)](https://agentmods.dev/instructions/langfuse/skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/langfuse/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/langfuse/skills/agents-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 skills AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/langfuse/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/langfuse/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,400 This file is loaded in full into every session.
When invoked 1,400 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.01400 $0.01400
Opus 5.5 $0.00560 $0.00560
Sonnet 5.5 $0.00280 $0.00280
Haiku 4.5 $0.00140 $0.00140

Measured 1mo ago against content hash 9c6a4339963d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skills 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 1mo 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 · 63 lines

How it starts

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

Agent Instructions

Adding or Improving a Skill Use Case

FOLLOW THESE INSTRUCTIONS RELIGIOUSLY. After every edit you make, come back to these principles and judge critically whether you adhered to them. Fix your edits if not.

  • Only add a use case if it beats the docs. If an agent can already serve the user by fetching the Langfuse docs, add nothing. Reserve new content for where docs fall short and the agent needs extra context. Every addition is maintenance surface and dilutes the skill.

  • You should almost never touch the top-level frontmatter description in SKILL.md. It only controls whether the skill is invoked, and a user asking about a use case already mentions Langfuse or evaluation — which triggers it. Keep it short; in-skill routing handles the rest.

  • Put "when to use" guidance in exactly two places: exactly one one-line entry per reference in the ## Use case specific references list in SKILL.md, and the description in the reference file's frontmatter. Nowhere else — no prose routing section, no "when to use" section in the reference body. A reference body is read only after the agent already chose to open it, so routing text there is dead weight.

  • Every line must earn its place. Add only what's useful or what an agent couldn't infer on its own. Cut filler, restatements, self-explanatory steps, and anything the agent will already have from the relevant docs or task context. Keep new use-case references at 100 lines or fewer, including frontmatter; this is a maximum, if you exceed this length, you are likely producing slop.

  • Never commit code. Link to the relevant Langfuse docs page so the agent fetches current code; use pseudo-code only for logic-specific bits. Committed code goes stale.

  • Be cautious with allowed-tools. A tool not in the list still works — the user just grants permission the first time. Only auto-allow commands users would find a no-brainer (today: read-only langfuse-specific commands only). A risky auto-allow can make people hesitate to install the skill at all.

Read the full file on GitHub · 63 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. 1mo ago Changed · +1 lines · +19 tokens per session 9c6a4339963d
  2. 1mo ago Changed · -7 lines · -137 tokens per session ca1998720709
  3. 2mo ago First seen · 69 lines · 1,518 tokens per session scan A 4abe8d3026c5

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository langfuse/skills (333 stars, last pushed 2d ago), licensed MIT. It adds 1,400 tokens to every session, about $0.0056 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-08-30.

Related

skills AGENTS.md compared with instructions from other repositories

skills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skills AGENTS.mdlangfuse/skillsInstructions file3332d agoMITA1,400Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode