tskills: Instructions file for Codex

AGENTS.md

tskills AGENTS.md is an instructions file for Codex, OpenCode from magnusnoeddegaard/tskills. It costs 1,074 tokens per session, scanned A, original, MIT.

A project instruction file for tskills, a package manager for AI skills that supports several coding tools and includes local, registry, organization, and team commands.

In plain words
What is it for?
Use it when developing or testing tskills and its commands for skills, registries, organizations, teams, and tool-specific outputs.
Why use it?
It tells coding agents how to install dependencies, build, run, link, and navigate the TypeScript project.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/magnusnoeddegaard/tskills/agents-md"><img src="https://agentmods.dev/badge/instructions/magnusnoeddegaard/tskills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,074 This file is loaded in full into every session.
When invoked 1,074 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.01074 $0.01074
Opus 5.5 $0.00430 $0.00430
Sonnet 5.5 $0.00215 $0.00215
Haiku 4.5 $0.00107 $0.00107

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

Security

Grade A, and why

tskills 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 2mo 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 · 139 lines

How it starts

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

AGENTS.md

Instructions for AI coding agents working on this project.

Dev Environment

# Install dependencies
npm install

# Build TypeScript
npm run build

# Watch mode for development
npm run dev

# Link for local testing
npm link

After linking, test with:

tskills --help
ts --help

Project Structure

  • src/cli.ts - Entry point, registers all commands (local + registry + org/team)
  • src/types.ts - TypeScript interfaces for skills, registry, orgs, teams, auth
  • src/commands/ - Each file is a CLI command:
    • Registry: login, logout, whoami, publish, install, uninstall, search, info, outdated, update, deprecate
    • Organizations/Teams: org (subcommands: create, list, info, add, remove, delete), team (same subcommands)
    • Local/Legacy: setup, init, add, import, list, sync, share, config
  • src/adapters/ - Tool-specific output adapters (Claude, Cursor, Windsurf)
  • src/lib/ - Shared utilities:
    • config.ts - Read/write ~/.tskills/config.toml
    • discover.ts - Auto-discover SKILL.md files
    • git.ts - Clone/pull operations
    • skill.ts - Parse SKILL.md with YAML frontmatter
    • credentials.ts - Auth token storage (~/.tskills/credentials.json)
    • errors.ts - Custom error classes (Auth, Network, Validation, RateLimit, Permission, etc.)
    • error-handler.ts - Maps Supabase/Postgres/FS errors to custom errors
    • manifest.ts - Tracks installed skills (~/.tskills/installed.json)
    • registry.ts - Supabase client + full registry API (~1000 lines)
    • registry-config.ts - Dynamic registry config with remote fetch + caching
    • retry.ts - Retry with exponential backoff and jitter
    • validation.ts - Input validation (skill names, semver, slugs, usernames)
  • supabase/ - Supabase project config and 14 SQL migrations

Backend (Supabase)

The registry backend is a Supabase project with:

  • Postgres tables: users, skills, skill_versions, organizations, org_members, teams, team_members, rate_limits
  • Row Level Security (RLS): visibility-based access control (public/private/org/team)
  • RPC functions: check_rate_limit, increment_downloads, create_org_with_owner
  • GitHub OAuth for authentication

Read the full file on GitHub · 139 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. 2mo ago First seen · 139 lines · 1,074 tokens per session scan A 2b1bb63e7981

Subscribe to this mod's changes

tskills AGENTS.md is an instructions file published in the GitHub repository magnusnoeddegaard/tskills (5 stars, last pushed 9mo ago), licensed MIT. It adds 1,074 tokens to every session, about $0.0043 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-31.

Related

tskills AGENTS.md compared with instructions from other repositories

tskills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tskills AGENTS.mdmagnusnoeddegaard/tskillsInstructions file59mo agoMITA1,074Codex, OpenCode
plugin-files-modegriddynamics/rosettaInstructions file373todayApache-2.0A377GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot