ContextKit AGENTS.md

Repository instructions for ContextKit, a system that stores templates and installation scripts for creating customized development environments.

In plain words
What is it for?
Use them when developing ContextKit templates, installation scripts, documentation, or the structure copied into other projects.
Why use it?
They explain that the repository contains source templates and installer logic, so changes are made in the right place and tested through the copy process.

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/flinedev/contextkit/agents-md
Clone the repo
git clone --depth 1 https://github.com/FlineDev/ContextKit

Made for: Codex, OpenCode.

Per session 9,979 This file is loaded in full into every session.
When invoked 9,979 The same file โ€” it is already loaded in full.
Security scan C 2 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.09979 $0.09979
Opus 5 $0.04990 $0.04990
Sonnet 5 $0.01996 $0.01996
Haiku 4.5 $0.00998 $0.00998

Measured yesterday against content hash 761fd8d2e373, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

ContextKit AGENTS.md scanned grade C with 2 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 yesterday.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

โ”œโ”€โ”€ ๐Ÿ“„ install.sh # GLOBAL INSTALLER (users run: curl | sh)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

โ”œโ”€โ”€ ๐Ÿ“„ install.sh # GLOBAL INSTALLER (users run: curl | sh)
AGENTS.md ยท 1,051 lines

How it starts

The opening of the file, as written. The whole thing โ€” 1,051 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

ContextKit Repository Development Guide

๐Ÿšจ CRITICAL: Meta-Development Context

You are working ON ContextKit, not WITH ContextKit!

This repository contains TEMPLATES and INSTALLATION SCRIPTS that other developers will use. The files here are NOT meant to be executed directly in this repository - they are source templates that get copied to user systems during installation.

๐Ÿง  Understanding the Meta-Architecture

ContextKit is a "template distribution system" - this repository contains:

  1. Templates - Files that get copied and customized during installation
  2. Installation scripts - Logic that copies templates to user systems
  3. Documentation - Explains how the system works

Key Mental Model: Think of this repository as a "template factory" that produces customized development environments for other projects.


๐Ÿ“‚ Complete Repository Structure & Purpose

ContextKit/
โ”œโ”€โ”€ ๐Ÿ“„ install.sh                    # GLOBAL INSTALLER (users run: curl | sh)
โ”œโ”€โ”€ ๐Ÿ“– README.md                     # Public documentation  
โ”œโ”€โ”€ ๐Ÿ“– CLAUDE.md                     # This file - development guidance for AI assistants
โ”œโ”€โ”€ ๐Ÿ“– LICENSE                       # MIT license
โ”œโ”€โ”€ ๐Ÿ“„ CHANGELOG.md                  # Version tracking and migration support
โ””โ”€โ”€ ๐ŸŽฏ Templates/                     # TEMPLATE DISTRIBUTION CENTER
    โ”œโ”€โ”€ Guidelines/                  # โ†’ GLOBAL CODING STANDARDS (copied by install.sh)
    โ”‚   โ”œโ”€โ”€ Swift.md                 # Swift patterns
    โ”‚   โ””โ”€โ”€ SwiftUI.md               # SwiftUI patterns
    โ”œโ”€โ”€ Commands/                    # โ†’ CLAUDE CODE COMMANDS (get copied during /ctxk:proj:init)
    โ”‚   โ”œโ”€โ”€ proj/                    # Project management commands
    โ”‚   โ”‚   โ”œโ”€โ”€ init.md              # Project initialization
    โ”‚   โ”‚   โ”œโ”€โ”€ init-workspace.md    # Workspace configuration
    โ”‚   โ”‚   โ””โ”€โ”€ migrate.md           # Version updates
    โ”‚   โ”œโ”€โ”€ plan/                    # Feature planning workflow
    โ”‚   โ”‚   โ”œโ”€โ”€ 1-spec.md            # Business requirements
    โ”‚   โ”‚   โ”œโ”€โ”€ 2-research-tech.md   # Technical research and architecture
    โ”‚   โ”‚   โ””โ”€โ”€ 3-steps.md           # Implementation breakdown
    โ”‚   โ”œโ”€โ”€ impl/                    # Development workflow
    โ”‚   โ”‚   โ”œโ”€โ”€ start-working.md     # Context-aware development start
    โ”‚   โ”‚   โ”œโ”€โ”€ commit-changes.md    # Smart commit message generation
    โ”‚   โ”‚   โ”œโ”€โ”€ release-app.md       # iOS/macOS App Store releases
    โ”‚   โ”‚   โ””โ”€โ”€ release-package.md   # Swift Package releases
    โ”‚   โ””โ”€โ”€ bckl/                    # Backlog management
    โ”‚       โ”œโ”€โ”€ add-idea.md          # Capture new ideas with evaluation
    โ”‚       โ”œโ”€โ”€ add-bug.md           # Bug report with impact assessment
    โ”‚       โ”œโ”€โ”€ prioritize-ideas.md  # Organize ideas backlog
    โ”‚       โ”œโ”€โ”€ prioritize-bugs.md   # Triage bugs backlog
    โ”‚       โ”œโ”€โ”€ remove-idea.md       # Remove completed ideas from backlog
    โ”‚       โ””โ”€โ”€ remove-bug.md        # Remove fixed bugs from backlog
    โ”œโ”€โ”€ Scripts/                     # โ†’ ALL SCRIPTS (hooks & standalone, get copied during /ctxk:proj:init)
    โ”‚   โ”œโ”€โ”€ AutoFormat.sh           # Auto-format edited Swift files (PostToolUse hook)
    โ”‚   โ”œโ”€โ”€ VersionStatus.sh        # Version checking and status display (SessionStart hook)
    โ”‚   โ””โ”€โ”€ CustomStatusline.sh     # Complete statusline script with 5h-usage tracking and colored progress bars
    โ”œโ”€โ”€ Agents/                      # โ†’ AI ASSISTANTS (get copied during /ctxk:proj:init)
    โ”‚   โ”œโ”€โ”€ build-project.md         # [READY] Execute builds with constitutional compliance checking
    โ”‚   โ”œโ”€โ”€ check-accessibility.md   # [INCOMPLETE] Accessibility compliance validation (VoiceOver, contrast, etc.)
    โ”‚   โ”œโ”€โ”€ check-localization.md    # [INCOMPLETE] Localization readiness audit (String Catalog, cultural adaptation)
    โ”‚   โ”œโ”€โ”€ check-error-handling.md  # [INCOMPLETE] ErrorKit pattern validation and typed throws
    โ”‚   โ”œโ”€โ”€ check-modern-code.md     # [INCOMPLETE] API modernization (Date.now, Duration, async/await)
    โ”‚   โ”œโ”€โ”€ check-code-debt.md       # [INCOMPLETE] Technical debt cleanup and code consolidation
    โ”‚   โ”œโ”€โ”€ run-test-suite.md        # [READY] Execute complete test suite with build validation and structured failure reporting
    โ”‚   โ””โ”€โ”€ run-specific-test.md     # [READY] Execute specific test with build validation and focused failure analysis
    โ”œโ”€โ”€ Features/                    # โ†’ FEATURE TEMPLATES (used by /ctxk:plan:1-spec, /ctxk:plan:quick, etc.)
    โ”‚   โ”œโ”€โ”€ Spec.md                  # Business requirements and user stories (spec-kit methodology)
    โ”‚   โ”œโ”€โ”€ Tech.md                  # Technical architecture and constitutional compliance
    โ”‚   โ”œโ”€โ”€ Steps.md                 # Implementation task breakdown with parallel markers [P]
    โ”‚   โ””โ”€โ”€ Quick.md                 # Quick task planning template with interactive validation
    โ”œโ”€โ”€ Contexts/                    # โ†’ CONTEXT TEMPLATES (used by /ctxk:proj:init and /ctxk:proj:init-workspace)
    โ”‚   โ”œโ”€โ”€ Project.md               # Project-level Context.md with ContextKit configuration
    โ”‚   โ””โ”€โ”€ Workspace.md             # Workspace-level Context.md with client/company overrides
    โ”œโ”€โ”€ Backlog/                     # โ†’ BACKLOG TEMPLATES (used by /ctxk:bckl:add-idea and /ctxk:bckl:add-bug)
    โ”‚   โ”œโ”€โ”€ Ideas-Inbox.md           # New idea capture template with evaluation framework
    โ”‚   โ”œโ”€โ”€ Ideas-Backlog.md         # Prioritized idea backlog template with strategic organization
    โ”‚   โ”œโ”€โ”€ Bugs-Inbox.md            # Bug report intake template with impact assessment
    โ”‚   โ””โ”€โ”€ Bugs-Backlog.md          # Triaged bug backlog template with severity-based organization
    โ”œโ”€โ”€ Formatters/                  # โ†’ CODE STYLE CONFIGS (get copied during /ctxk:proj:init)
    โ”‚   โ”œโ”€โ”€ .swift-format            # Apple swift-format configuration
    โ”‚   โ””โ”€โ”€ .swiftformat             # SwiftFormat (Nick Lockwood) configuration
    โ””โ”€โ”€ settings.json                # โ†’ CLAUDE CODE SETTINGS TEMPLATE

Read the full file on GitHub ยท 1,051 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. yesterday First seen ยท 1,051 lines ยท 9,979 tokens per session scan C 761fd8d2e373

Subscribe to this mod's changes

ContextKit AGENTS.md is an instructions file published in the GitHub repository FlineDev/ContextKit (166 stars, last pushed 5mo ago), licensed MIT. It adds 9,979 tokens to every session, about $0.0499 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

AniShelf AGENTS.md

Instructions for samuelhe52/AniShelf, covering anishelf - developer notes, workflow, code style, testing and commits.

samuelhe52/AniShelf ยท 1,083 tokens

swift-architecture-skill CLAUDE.md

Instructions for efremidze/swift-architecture-skill, covering swift architecture skill, project structure, how the skill works and key conventions.

efremidze/swift-architecture-skill ยท 422 tokens

swift-architecture-skill AGENTS.md

Instructions for efremidze/swift-architecture-skill, covering agents guidelines for swift architecture skill, working with this repository, 1. understanding the skill, 2. modifying architecture playbooks and 3. testing and validation.

efremidze/swift-architecture-skill ยท 987 tokens

swift-ios-skills AGENTS.md

AGENTS.md instructions for dpearson2699/swift-ios-skills, covering claude.md, communication style, what this repo is, core repo shape and required context before any skill change.

dpearson2699/swift-ios-skills ยท 2,604 tokens

swift-patterns-skill AGENTS.md

Instructions for efremidze/swift-patterns-skill, covering agent guidelines for swift patterns, core principles, 1. swift and swiftui focus, 2. no code formatting or linting and 3. no architectural opinions.

efremidze/swift-patterns-skill ยท 1,145 tokens

ios-skills AGENTS.md

AGENTS.md instructions for thiennc-tesoglobal/ios-skills, covering claude.md, communication style, what this repo is, core repo shape and required context before any skill change.

thiennc-tesoglobal/ios-skills ยท 2,761 tokens