tskills 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

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/magnusnoeddegaard/tskills/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.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.svg" alt="Measured on agentmods" 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. 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.01074 $0.01074
Opus 5 $0.00537 $0.00537
Sonnet 5 $0.00215 $0.00215
Haiku 4.5 $0.00107 $0.00107

Measured 4d ago against content hash 2b1bb63e7981, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 7mo ago), licensed MIT. It adds 1,074 tokens to every session, about $0.0054 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-31.