self-learning-skills AGENTS.md

self-learning-skills AGENTS.md is an instructions file for Codex, OpenCode from scottfalconer/self-learning-skills. It costs 563 tokens per session, scanned A, original, MIT.

A set of instructions for skills that let a coding agent improve its guidance from its work over time. It explains how skills are discovered, when they apply, and what to do before and after a task.

In plain words
What is it for?
Use it to manage skill discovery, follow the required pre-task checks, and apply the self-learning policy during coding work.
Why use it?
It gives the agent a consistent process for finding the right instructions and recording useful lessons. This helps avoid applying the wrong skill or overlooking project guidance.

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/scottfalconer/self-learning-skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/scottfalconer/self-learning-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 self-learning-skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/scottfalconer/self-learning-skills/agents-md.svg)](https://agentmods.dev/instructions/scottfalconer/self-learning-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/scottfalconer/self-learning-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/scottfalconer/self-learning-skills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 563 This file is loaded in full into every session.
When invoked 563 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.00563 $0.00563
Opus 5 $0.00282 $0.00282
Sonnet 5 $0.00113 $0.00113
Haiku 4.5 $0.00056 $0.00056

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

Security

Grade A, and why

self-learning-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 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 · 40 lines

How it starts

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

Agent Instructions

Skills

Skills are discovered at startup from multiple local sources. Each entry includes a name, description, and file path so you can open the source for full instructions.

Discovery: Available skills are listed in project docs and may also appear in a runtime "## Skills" section (name + description + file path). These are the sources of truth; skill bodies live on disk at the listed paths.

Trigger rules: If the user names a skill (with $SkillName or plain text) OR the task clearly matches a skill's description, you must use that skill for that turn. Multiple mentions mean use them all. Do not carry skills across turns unless re-mentioned.

Missing/blocked: If a named skill isn't in the list or the path can't be read, say so briefly and continue with the best fallback.

How to use a skill (progressive disclosure):

  1. After deciding to use a skill, open its SKILL.md. Read only enough to follow the workflow.
  2. If SKILL.md points to extra folders such as references/, load only the specific files needed for the request; don't bulk-load everything.
  3. If scripts/ exist, prefer running or patching them instead of retyping large code blocks.
  4. If assets/ or templates exist, reuse them instead of recreating from scratch.

Description as trigger: The YAML description in SKILL.md is the primary trigger signal; rely on it to decide applicability. If unsure, ask a brief clarification before proceeding.

Coordination and sequencing:

  • If multiple skills apply, choose the minimal set that covers the request and state the order you'll use them.
  • Announce which skill(s) you're using and why (one short line). If you skip an obvious skill, say why.

Context hygiene:

  • Keep context small: summarize long sections instead of pasting them; only load extra files when needed.
  • Avoid deeply nested references; prefer one-hop files explicitly linked from SKILL.md.
  • When variants exist (frameworks, providers, domains), pick only the relevant reference file(s) and note that choice.

Read the full file on GitHub · 40 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. 5d ago First seen · 40 lines · 563 tokens per session scan A 5b1106272df7

Subscribe to this mod's changes

self-learning-skills AGENTS.md is an instructions file published in the GitHub repository scottfalconer/self-learning-skills (48 stars, last pushed 2mo ago), licensed MIT. It adds 563 tokens to every session, about $0.0028 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

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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

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 · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 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,469 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens