Agent skill

Context Pack

by oocx in oocx/tfplan2md

Assemble the context a role needs without reading whole files - structural search with ast-grep, and what to delegate instead of reading.

MITAuto-check passedDevOps & Cloud

Install Context Pack

skills CLI
$ npx skills add oocx/tfplan2md --skill context-pack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oocx/tfplan2md context-pack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/context-pack .claude/skills/context-pack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-pack
GitHub stars
174
Token cost
~656 tokens
SKILL.md length
335 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Assemble the context a role needs without reading whole files - structural search with ast-grep, and what to delegate instead of reading.

  • DevOps & Cloud work in your project
  • SKILL.md covers Read known paths, search for…, ast-grep for code questions, Delegate what you do not need… and Command output is compressed…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context Pack is an agent skill from oocx/tfplan2md. Assemble the context a role needs without reading whole files - structural search with ast-grep, and what to delegate instead of reading.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. The repository describes itself as: Convert terraform plans (json) into human readable markdown for easier review of changes in pull requests. The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/context-pack”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit 88d5240. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Pack loads about 656 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 335 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~656

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oocx/tfplan2md at commit 88d5240, republished under its MIT licence (© oocx). 335 words, ~656 tokens.

Download SKILL.mdSave it as .claude/skills/context-pack/SKILL.md (or your agent's skills folder).
name
context-pack
description
Assemble the context a role needs without reading whole files - structural search with ast-grep, and what to delegate instead of reading.

Context Pack

Token cost is dominated by what enters context, not by what you do with it. This skill is about reading less while knowing more.

Read known paths, search for unknown ones

A role usually needs specific artifacts — specification.md, architecture.md, tasks.md, analysis.md. Read those directly; there is nothing to discover.

Reach for search only when the question is "where is X". Then make the search structural rather than textual.

ast-grep for code questions

ast-grep matches syntax, not strings, so it returns the construct you asked about instead of every line mentioning it.

bash
# Every class implementing an interface, without reading any file whole
ast-grep --lang csharp -p 'class $NAME : $$$ IResourceRenderer $$$'

# Every call to a method, with its arguments
ast-grep --lang csharp -p 'RegisterRenderer($$$)'

# Every method with a given attribute
ast-grep --lang csharp -p '[Test] $RET $NAME($$$) { $$$ }'

Always invoke ast-grep by its full name. On Linux, sg is util-linux's setgid binary; a script that calls sg expecting ast-grep runs the wrong program silently.

Fall back to rg for prose, configuration and markdown, where there is no syntax tree worth matching.

Delegate what you do not need verbatim

Spawn a cheap-tier subagent for anything whose output you need conclusions from rather than content:

  • "Where is the display-name logic for azurerm?" — the answer is a path, not a file.
  • Build and test runs where only pass/fail matters.
  • "Does anything else already do X?" before writing something new.

Do not delegate a single file read or one rg — the spawn costs more than the call.

Command output is compressed for you

rtk sits in front of Bash calls and compresses the output of git, test runners, linters, gh and docker before it reaches context. You do not invoke it; the hook rewrites the command.

Two consequences worth knowing:

  • Its compression is lossy — dedup, truncation, grouping. Where you need the exact bytes, say so; tee mode preserves full output on failure.
  • The Code Reviewer's diff is excluded, because a truncated diff produces a confident review of code nobody saw.

What not to do

  • Do not cat a 300-line file to answer a one-line question.
  • Do not read a file "for context" before knowing what you are looking for.
  • Do not paste a role file into a subagent prompt — the subagent reads it itself.

© oocx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/context-pack of oocx/tfplan2md.

Open the folder on GitHubat commit 88d5240

Compare with similar skills

Context Pack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Pack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Pack this skilloocx/tfplan2md174—~656Automated safety check: PassMIT
Monitor CInrwl/nx29k6 repos~4.7kAutomated safety check: PassMIT
Repo Hygiene Scan and FixQwenLM/qwen-code28k—~1.7kAutomated safety check: PassApache-2.0
Bash Defensive Patternspromovaweb/setupvibe10115 repos~572Automated safety check: PassGPL-3.0
Terravision Cloud Diagramspatrickchugh/terravision1.6k—~5.6kAutomated safety check: NotesAGPL-3.0-only
Author Migrationnrwl/nx29k—~12kAutomated safety check: NotesMIT

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 6 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Scheduled CI skill that scans a repository for small, certain docs, test and code hygiene issues and fixes them on one branch with a commit per finding.

    28k GitHub stars~1.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Bash Defensive Patterns

    promovaweb/setupvibe

    Master defensive Bash programming techniques for production-grade scripts.

    101 GitHub starsUsed in 15 repos~572 tokens
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Author or scope a first-party Nx migration. An agent skill from nrwl/nx.

    29k GitHub stars~12k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Gives step-by-step checklists for adding Ingress annotations, VirtualServer fields and Helm values to the NGINX Kubernetes Ingress Controller, with common gotchas.

    5.1k GitHub stars~1.4k tokensUpdated today
    DevOps & CloudAuto-check passed

More from oocx/tfplan2md

All 28 skills in this repo
  • Create Agent Skill

    oocx/tfplan2md

    Create a new Agent Skill following project standards and templates.

    174 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Detect and analyze edge crossings and overlaps in SVG workflow diagrams using geometric intersection algorithms and visual analysis.

    174 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools.

    174 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Git Rebase Main

    oocx/tfplan2md

    Safely rebase the current feature branch on top of the latest origin/main.

    174 GitHub stars~456 tokensUpdated today
    Auto-check passed
  • Next Issue Number

    oocx/tfplan2md

    Determine the next available issue number across all change types (feature, fix, workflow, website) by checking both local docs and remote branches, then reserve it by pushing an empty branch.

    174 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Run Uat

    oocx/tfplan2md

    Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps.

    174 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Context Pack

What does Context Pack do?

Assemble the context a role needs without reading whole files - structural search with ast-grep, and what to delegate instead of reading. Context Pack is an agent skill from oocx/tfplan2md. Assemble the context a role needs without reading whole files - structural search with ast-grep, and what to delegate instead of reading.

When should I use Context Pack?

Context Pack fits situations like: devOps & Cloud work in your project.

How do I install Context Pack in Claude Code?

Run `npx skills add oocx/tfplan2md --skill context-pack -a claude-code`. Or copy the skill folder (.agents/skills/context-pack in oocx/tfplan2md) into .claude/skills/context-pack in your project. Claude Code loads it when a task matches its description.

How do I install Context Pack in Codex?

Run `npx skills add oocx/tfplan2md --skill context-pack -a codex`. Or copy the skill folder (.agents/skills/context-pack in oocx/tfplan2md) into .agents/skills/context-pack in your project. Codex loads it when a task matches its description.

Can I use Context Pack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oocx/tfplan2md --skill context-pack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-pack, .gemini/skills/context-pack, .github/skills/context-pack and .opencode/skills/context-pack in your project.

What does Context Pack need to run?

SKILL.md names no scripts, command-line tools or credentials: Context Pack is instructions for the agent only. Our summary lists: Docker.

Does Context Pack access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Pack safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Pack use?

Context Pack is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Pack use?

About 656 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Pack?

Skills that share tags, products or a category with Context Pack: Monitor CI (nrwl/nx, 29k stars), Repo Hygiene Scan and Fix (QwenLM/qwen-code, 28k stars), Bash Defensive Patterns (promovaweb/setupvibe, 101 stars) and Terravision Cloud Diagrams (patrickchugh/terravision, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Pack?

oocx (a GitHub user) maintains it in oocx/tfplan2md, which has 174 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 7, 2026.

Source: oocx/tfplan2md on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.