ctx SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

ctx from ctxrs/ctx is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ctxrs/ctx/ctx@git:20261001.7a1e4ae

Pins git:20261001.7a1e4ae in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ctxrs/ctx
Path
skills/ctx/SKILL.md
Versions recorded
7
Latest version
git:20261001.7a1e4ae, committed Oct 1, 2026
First version recorded
Aug 17, 2026
Size
5,986 bytes
Repository stars
1,180
License
Apache-2.0

Use ctx as working memory for prior agent work. Before starting or continuing work in an unfamiliar area, resuming earlier work, or revisiting an investigation, search prior sessions to ground yourself in earlier context. Use ctx blame to trace a line, file, commit, or PR to the agent session that produced it. Use when prior decisions, constraints, attempts, tool calls, transcript evidence, or code provenance may matter. Use ctx graph queries on indexed projects to follow calls and…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ctx

Use ctx to ground your work in relevant prior agent sessions. Search history
for decisions and attempts, trace provenance with blame, and inspect code
relationships with the graph. ctx retrieves evidence; you perform the analysis.

## Choose the operation

- Prior work, decisions or errors: `ctx search "<query>"`.
- Which session produced code: `ctx blame file <path>` or
  `ctx blame commit <sha>`; PR targets are also supported.
- Code relationships or potential impact: `ctx graph search <symbol>`,
  `ctx graph callers <symbol>`, or `ctx graph impact <symbol>`.
- Requested or explicitly opted-in output compaction: `ctx sift -- PROGRAM
  ARG...` for a command, or `ctx sift compact <file>` for existing output.

These commands are built into the installed ctx executable. Graph and output
commands do not require history setup. Only history search and blame need
indexed agent history: inspect `ctx status` and `ctx sources`; run `ctx setup`
if history has not been initialized. First indexing can take time.
If ctx or relevant evidence is unavailable, state the limit rather than
inventing results.

Read documentation on demand instead of guessing flags or behavior:

```bash
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ctxrs/ctx/ctx@sha256:76f1fc36a011a719

The line at the top of this page pins the label git:20261001.7a1e4ae, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yqmtt254zc2emgea.svg)](https://markdownregistry.com/a/art_yqmtt254zc2emgea)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Aug 17, 2026 and Oct 1, 2026, about one every 8 days. Its first recorded version is graded B and its latest A.

versioncommittedcommitsizeaudit
git:20261001.7a1e4ae latest2026-10-01 7a1e4ae 5,986 BA view · diff
git:20260924.e43ea952026-09-24 e43ea95 5,763 BA view · diff
git:20260924.f94d4852026-09-24 f94d485 5,745 BA view · diff
git:20260921.73138502026-09-21 7313850 8,876 BB view · diff
git:20260817.0ec02ad2026-08-17 0ec02ad 9,789 BB view · diff
git:20260817.a172ed02026-08-17 a172ed0 9,357 BB view · diff
git:20260817.d6025282026-08-17 d602528 9,336 BB view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5986 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ctxrs/ctx · 1,180 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yqmtt254zc2emgea
GET https://markdownregistry.com/api/v1/resolve?ref=ctxrs/ctx/ctx
GET https://markdownregistry.com/api/v1/blob/76f1fc36a011a719bbf9789418e5dd1287a0d6de7603b6240a068f5ad23fc682

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ctxrs/ctx

ctx SKILL.md skill
ctxrs/ctx · plugins/ctx/skills/ctx/SKILL.md · Use ctx as working memory for prior agent work. Before starting or continuing work in an unfamiliar area, resuming…
git:20261001.7a1e4ae · audit A · 1,180 stars

Every file in ctxrs/ctx

Other files named ctx

ctx SKILL.md skill
ctxrs/ctx · plugins/ctx/skills/ctx/SKILL.md · Use ctx as working memory for prior agent work. Before starting or continuing work in an unfamiliar area, resuming…
git:20261001.7a1e4ae · audit A · 1,180 stars

Browse by kind, by grade A, or by owner.