lfx-self-serve: Instructions file for Claude Code

AGENTS.md

lfx-self-serve AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from linuxfoundation/lfx-self-serve. It costs 4,804 tokens per session, scanned D, a copy of superpowers AGENTS.md, MIT.

Repository-specific instructions for Linux Foundation LFX Self Serve, a user interface project.

In plain words
What is it for?
Guiding changes made in the LFX Self Serve repository.
Why use it?
They give the coding agent context and working rules for that codebase.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is linuxfoundation/lfx-self-serve's own configuration. It tells Claude Code, Codex and OpenCode how to work on lfx-self-serve 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 lfx-self-serve configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 lfx-self-serve AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/linuxfoundation/lfx-self-serve/agents-md"><img src="https://agentmods.dev/badge/instructions/linuxfoundation/lfx-self-serve/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,804 This file is loaded in full into every session.
When invoked 4,804 The same file — it is already loaded in full.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.04804 $0.04804
Opus 5.5 $0.01922 $0.01922
Sonnet 5.5 $0.00961 $0.00961
Haiku 4.5 $0.00480 $0.00480

Measured today against content hash b36f5e90d086, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

lfx-self-serve AGENTS.md scanned grade D with 2 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 today.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Hot reload silent? Likely `inotify` watcher limit — `sudo sysctl fs.inotify.max_user_watches=524288`.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules && yarn install # nuclear
Origin

This is a copy

100% identical to superpowers AGENTS.md — 302 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 288 lines

How it starts

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

AGENTS.md

This file provides guidance to AI coding agents when working with code in this repository.

Auto-loaded by Claude Code and other AGENTS.md-aware agents at session start. Read this first.

Important: invoke /lfx-skills:lfx for any cross-repo task or "where does X live" question. Routes to owning repos and pulls in their CLAUDE.md, skills, and rules. If /lfx-skills:lfx is not found, install with /plugin marketplace add linuxfoundation/lfx-skills then /plugin install lfx-skills@lfx-skills.

Project Overview

LFX One is a Turborepo monorepo containing an Angular 20 SSR application with stable zoneless change detection and Express.js server.

Working mode

You have full file-edit authority in this session — different from a Cowork session where you generate prompts for someone else to execute. For pre-edit hygiene checks (re-read files, type-check after multi-file changes, etc.) invoke the /self-serve-dev skill.

Lean on subagents. Use the Agent tool for broad searches (Explore), independent parallel investigations (multiple Agent calls in one message), and context-heavy reads that would bloat the main thread. For the local review of a branch, follow Pre-PR review below — once, before the PR is opened. This repo's local AGENTS.md, .claude/rules/, .claude/skills/, architecture docs, review checklists, and KB remain the review source of truth. Default to delegating when the task is wide, parallel, or read-heavy.

Domain language

Use these naturally — do not paraphrase:

  • PCC — Project Control Center
  • ED — Executive Director
  • Admin Mode — privileged view variant for EDs and admins
  • Affiliation — contributor's company/org link
  • L2 — second-level navigation pattern
  • Personas — Contributor, Maintainer, ED, Board Member

When a feature affects multiple personas differently, flag it explicitly.

Quick Start

Prerequisites: Node.js 22.13+ (or 23.4+; node:sqlite is unflagged from those releases) and Yarn 4.x (via corepack). Docker or OrbStack is only needed when running the optional local microservice stack; normal app development uses the shared dev environment.

Read the full file on GitHub · 288 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. today Changed · +2 lines · +182 tokens per session b36f5e90d086
  2. 21d ago Changed · -8 lines · -165 tokens per session 827bf552d7de
  3. 26d ago Changed · +293 lines · +4,783 tokens per session scan A → D 0dfa05ed1568
  4. 2mo ago First seen · 1 lines · 4 tokens per session scan A 6ebdb617a810

Subscribe to this mod's changes

lfx-self-serve AGENTS.md is an instructions file published in the GitHub repository linuxfoundation/lfx-self-serve (16 stars, last pushed today), licensed MIT. It adds 4,804 tokens to every session, about $0.0192 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). It is 100% identical to superpowers AGENTS.md, differing in 302 lines, and is treated as a copy.

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,715 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,461 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,261 tokens