Agent skill

Openspec Context Docs

by aafqaq in aafqaq/codex-lb-enhanced

OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs.

MITAuto-check passedDevOps & Cloud

Install Openspec Context Docs

skills CLI
$ npx skills add aafqaq/codex-lb-enhanced --skill openspec-context-docs -a claude-code

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

GitHub CLI
$ gh skill install aafqaq/codex-lb-enhanced openspec-context-docs --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/aafqaq/codex-lb-enhanced.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/openspec-context-docs .claude/skills/openspec-context-docs && 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
openspec-context-docs
GitHub stars
102
Token cost
~505 tokens
SKILL.md length
199 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs.

  • Works in 2 steps: spec.md = normative, testable… → Context docs = narrative and operational…
  • Updating OpenSpec docs
  • SKILL.md covers When to use, Core rule: two-layer docs, Locations and Detail prompts (add depth…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openspec Context Docs is an agent skill from aafqaq/codex-lb-enhanced. OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs. Use when creating or updating OpenSpec docs, spec context, or onboarding/guide documentation.

Its SKILL.md is about 510 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: Production-ready Codex-compatible account-pool gateway with seamless failover, full-session recovery, native quota headers, WebSocket/HTTP bridge, and observability. The licence is MIT.

When your agent uses it

  • Updating OpenSpec docs
  • Onboarding/guide documentation

Example prompts

  • “/openspec-context-docs”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. spec.md = normative, testable requirements (SHALL/MUST + scenarios).
  2. Context docs = narrative and operational detail that helps humans understand and apply the spec.

What it can do on your machine

Read from SKILL.md and the folder at commit c0e9e18. 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.

    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

Openspec Context Docs loads about 505 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 199 words of instructions outside code blocks.

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

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 aafqaq/codex-lb-enhanced at commit c0e9e18, republished under its MIT licence (© aafqaq). 199 words, ~505 tokens.

Download SKILL.mdSave it as .claude/skills/openspec-context-docs/SKILL.md (or your agent's skills folder).
name
openspec-context-docs
description
OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs. Use when creating or updating OpenSpec docs, spec context, or onboarding/guide documentation.

OpenSpec Context Docs

When to use

  • Writing or updating OpenSpec documentation (specs, onboarding, guide, change artifacts).
  • A spec is complete but readers lack background, rationale, examples, or operational notes.
  • You need to preserve rich context without weakening SSOT.

Core rule: two-layer docs

  1. spec.md = normative, testable requirements (SHALL/MUST + scenarios).
  2. Context docs = narrative and operational detail that helps humans understand and apply the spec.

Locations

  • Main specs:
    • openspec/specs/<capability>/spec.md (requirements)
    • openspec/specs/<capability>/context.md (preferred)
  • Optional split (if context grows):
    • overview.md, rationale.md, examples.md, ops.md inside the same capability folder.
  • Change-level notes (working context):
    • openspec/changes/<change>/context.md or notes.md

Detail prompts (add depth without forcing a template)

Include at least 4 of these in context docs:

  • Purpose / scope / non-goals
  • Decision rationale + alternatives considered
  • Constraints (security, performance, policy)
  • Failure modes / edge cases
  • Example request/response, data shape, or user flow
  • Operational notes (rollout, monitoring, runbooks)
  • Links to related specs/contracts

Sync rule

  • After implementation/verification, promote stable context from change notes into the main context docs.
  • Do not duplicate normative requirements in context docs; link back to spec.md.
  • Never create or update a docs/ directory; keep everything under openspec/.

Prompt snippet

"Keep spec.md strictly for requirements. Add/update context.md with purpose, decisions, constraints, failure modes, and at least one concrete example."

© aafqaq, 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/openspec-context-docs of aafqaq/codex-lb-enhanced.

Open the folder on GitHubat commit c0e9e18

Compare with similar skills

Openspec Context Docs 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.

Openspec Context Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openspec Context Docs this skillaafqaq/codex-lb-enhanced102—~505Automated safety check: PassMIT
KubeSphere Multi-Tenant Managementkubesphere/kubesphere17k—~3.1kAutomated safety check: PassCustom licence
Triage Codacynetdata/netdata81k—~2.2kAutomated safety check: NotesGPL-3.0
Azure PricingAzure/Copilot-Studio-and-Azure1103 repos~2.4kAutomated safety check: PassMIT
NGINX Ingress Policy CRD Guidenginx/kubernetes-ingress5.1k—~2kAutomated safety check: PassApache-2.0
ArvanCloud API Operatorerfnzdeh/arvancloud-agent-skill135—~3.9kAutomated safety check: PassMIT

Similar skills

  • Creates and queries KubeSphere users, workspaces and projects and assigns built-in roles, defaulting to least privilege and never deleting anything.

    17k GitHub stars~3.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Triage Codacy

    netdata/netdata

    Inspect, analyze, troubleshoot, or review Codacy findings and local analyzer/API helpers.

    81k GitHub stars~2.2k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Azure Pricing

    Azure/Copilot-Studio-and-Azure

    Official

    Fetches real-time Azure retail pricing using the Azure Retail Prices API (prices.azure.com) and estimates Copilot Studio agent credit consumption.

    110 GitHub starsUsed in 3 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • NGINX Ingress Policy CRD Guide

    nginx/kubernetes-ingress

    Step-by-step checklist for adding a new Policy CRD type to the NGINX Ingress Controller, from the Go types and validation to config generation and templates.

    5.1k GitHub stars~2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • ArvanCloud API Operator

    erfnzdeh/arvancloud-agent-skill

    Drives ArvanCloud's REST APIs for CDN, DNS, cloud servers, object storage and more, with helper scripts for calls, account inventory and certificates.

    135 GitHub stars~3.9k tokensUpdated 9 days ago
    DevOps & CloudAuto-check passed
  • Datadog Data Source Generator

    DataDog/terraform-provider-datadog

    Official

    Generates a Datadog Terraform provider data source from an OpenAPI operation with tfgen and opens a review-ready GitHub PR with a risk scan and testing guide.

    468 GitHub stars~2.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from aafqaq/codex-lb-enhanced

  • Openai Docs

    aafqaq/codex-lb-enhanced

    A skill your agent uses when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations (for example: Codex, Responses API, Chat Completions…

    102 GitHub starsUsed in 3 repos~861 tokens
    Auto-check passed
  • Codex Review Loop

    aafqaq/codex-lb-enhanced

    Adversarial PR code review using Codex CLI. An agent skill from aafqaq/codex-lb-enhanced.

    102 GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Project Conventions

    aafqaq/codex-lb-enhanced

    Project code conventions reference. An agent skill from aafqaq/codex-lb-enhanced.

    102 GitHub stars~203 tokensUpdated 2 days ago
    Auto-check passed

Questions about Openspec Context Docs

What does Openspec Context Docs do?

OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs. Openspec Context Docs is an agent skill from aafqaq/codex-lb-enhanced.md and capture narrative context in context/overview/rationale docs under openspec/specs.

When should I use Openspec Context Docs?

Openspec Context Docs fits situations like: updating OpenSpec docs; onboarding/guide documentation.

How do I install Openspec Context Docs in Claude Code?

Run `npx skills add aafqaq/codex-lb-enhanced --skill openspec-context-docs -a claude-code`. Or copy the skill folder (.agents/skills/openspec-context-docs in aafqaq/codex-lb-enhanced) into .claude/skills/openspec-context-docs in your project. Claude Code loads it when a task matches its description.

How do I install Openspec Context Docs in Codex?

Run `npx skills add aafqaq/codex-lb-enhanced --skill openspec-context-docs -a codex`. Or copy the skill folder (.agents/skills/openspec-context-docs in aafqaq/codex-lb-enhanced) into .agents/skills/openspec-context-docs in your project. Codex loads it when a task matches its description.

Can I use Openspec Context Docs 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 aafqaq/codex-lb-enhanced --skill openspec-context-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openspec-context-docs, .gemini/skills/openspec-context-docs, .github/skills/openspec-context-docs and .opencode/skills/openspec-context-docs in your project.

What does Openspec Context Docs need to run?

SKILL.md names no scripts, command-line tools or credentials: Openspec Context Docs is instructions for the agent only.

Does Openspec Context Docs 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 Openspec Context Docs 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 Openspec Context Docs use?

Openspec Context Docs 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 Openspec Context Docs use?

About 505 tokens (SKILL.md is roughly 2k 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 Openspec Context Docs?

Skills that share tags, products or a category with Openspec Context Docs: KubeSphere Multi-Tenant Management (kubesphere/kubesphere, 17k stars), Triage Codacy (netdata/netdata, 81k stars), Azure Pricing (Azure/Copilot-Studio-and-Azure, 110 stars) and NGINX Ingress Policy CRD Guide (nginx/kubernetes-ingress, 5.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openspec Context Docs?

aafqaq (a GitHub user) maintains it in aafqaq/codex-lb-enhanced, which has 102 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: aafqaq/codex-lb-enhanced on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.