Agent skill

Context Network

by jwynia in jwynia/agent-skills

Bootstrap, maintain, and evolve context networks across their full lifecycle.

MITAuto-check passedAgent Workflows

Install Context Network

skills CLI
$ npx skills add jwynia/agent-skills --skill context-network -a claude-code

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

GitHub CLI
$ gh skill install jwynia/agent-skills context-network --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/jwynia/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/general/meta/context-network .claude/skills/context-network && 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-network
GitHub stars
166
Token cost
~3.9k tokens
SKILL.md length
1,568 words
Files
10
Skills in repo
112
Repo updated
First seen
Licence
MIT

At a glance

Bootstrap, maintain, and evolve context networks across their full lifecycle.

  • Works in 8 steps: Existing Documentation Scan → Project Discovery Questions → Structure Generation → …
  • Starting a new project
  • SKILL.md covers Core Principle, Quick Reference, The States and Operational Modes, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context Network is an agent skill from jwynia/agent-skills. Bootstrap, maintain, and evolve context networks across their full lifecycle. Use when starting a new project, when existing documentation feels scattered, or when agent effectiveness degrades due to missing context.

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files (for example `scaffolds/creative-project.md`, `scaffolds/personal-knowledge.md` and `scaffolds/research-project.md`).

It sits in Agent Workflows. The licence is MIT.

When your agent uses it

  • Starting a new project
  • Existing documentation feels scattered
  • Agent effectiveness degrades due to missing context

Example prompts

  • “/context-network”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Existing Documentation Scan
  2. Project Discovery Questions
  3. Structure Generation
  4. Migration Execution
  5. Content Coaching
  6. State Diagnosis
  7. Gap Identification
  8. Intervention

What it can do on your machine

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

Context Network loads about 3.9k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 1,568 words of instructions outside code blocks.

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

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 jwynia/agent-skills at commit e02ec7e, republished under its MIT licence (© jwynia). 1,568 words, ~3,916 tokens.

Download SKILL.mdSave it as .claude/skills/context-network/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
context-network
description
Bootstrap, maintain, and evolve context networks across their full lifecycle. Use when starting a new project, when existing documentation feels scattered, or when agent effectiveness degrades due to missing context.
license
MIT
metadata.author
jwynia
metadata.version
1.0
metadata.type
utility
metadata.mode
generative
metadata.domain
infrastructure

Context Network Lifecycle

You help users build and maintain context networks—structured frameworks for organizing project knowledge that persist across sessions and support both human and agent work. Your role is to diagnose context network state, generate appropriate scaffolding, and coach users on content decisions.

Core Principle

Context networks make relationships explicit. Implicit knowledge doesn't survive session boundaries. Structure enables discovery. The goal is not completeness but navigability.

Quick Reference

Use this skill when:

  • Starting a new project that needs persistent context
  • Existing documentation feels scattered or hard to navigate
  • Agent effectiveness is degrading due to missing context
  • Context-retrospective identified gaps to address

Key states:

  • CN0: No Network - Project has no context network
  • CN1: Scattered Docs - Documentation exists but isn't organized as a network
  • CN2: Siloed Structure - Structure exists but connections missing
  • CN3: Navigation Broken - Connections exist but hard to traverse
  • CN4: Guidance Unclear - Structure works but agent instructions fail
  • CN5: Relationships Missing - Impacts/dependencies undocumented
  • CN6: Maintenance Failing - Network exists but drifts from reality

The States

State CN0: No Network

Symptoms: No .context-network.md file. No context/ directory. Documentation scattered in README or absent entirely. Agent asks same questions each session.

Key Questions:

  • What type of project is this? (software, research, creative, personal knowledge)
  • Who will use this context? (solo, team, agents)
  • What's the expected lifespan?

Interventions:

  • Run Bootstrap Mode (see below)
  • Generate discovery file and initial structure
  • Coach on minimal viable content
State CN1: Scattered Docs

Symptoms: README.md has grown unwieldy. docs/ folder exists but files aren't connected. Architecture decisions buried in comments or commit messages. Agent finds partial info but misses connections.

Key Questions:

  • What documentation already exists?
  • Which docs are still accurate?
  • What relationships exist between these documents?

Interventions:

  • Scan for existing documentation
  • Propose migration plan to context network structure
  • Generate relationship mappings for migrated content
State CN2: Siloed Structure

Symptoms: Context network exists with clear directory structure. Files are well-organized within domains. But cross-references are sparse. Agent finds info within domains but misses cross-domain implications.

Key Questions:

  • Which domains affect each other?
  • What changes in A typically require changes in B?
  • Are there shared concepts with different names in different domains?

Interventions:

  • Generate relationship templates
  • Coach on identifying cross-domain connections
  • Create hub documents that bridge domains
State CN3: Navigation Broken

Symptoms: Information exists and is connected, but hard to find. status.md is stale. No clear entry points for common tasks. Agent reads many files to find what it needs.

Key Questions:

  • What are the most common tasks agents perform?
  • Which files get read most often? Least often?
  • Are there orphan documents no one accesses?

Interventions:

  • Create/update hub documents
  • Establish task-based navigation guides
  • Prune or consolidate orphan content
State CN4: Guidance Unclear

Symptoms: Context network is well-structured. CLAUDE.md exists but agents still make wrong decisions. Instructions exist but aren't followed. Agent behavior inconsistent with documented patterns.

Key Questions:

  • Which agent behaviors are problematic?
  • Are instructions ambiguous or contradictory?
  • Is guidance too abstract to act on?

Interventions:

  • Refine CLAUDE.md with specific, actionable instructions
  • Add examples to abstract guidance
  • Create decision trees for common choices
State CN5: Relationships Missing

Symptoms: Changes in one area unexpectedly break another. Dependencies discovered mid-task. Impact of decisions unclear until after implementation. Agent doesn't know what else to check.

Key Questions:

  • What recent changes had unexpected ripple effects?
  • Which components share data, state, or interfaces?
  • What implicit contracts exist between areas?

Interventions:

  • Document dependency maps
  • Create impact relationship documentation
  • Add "affects" and "affected-by" sections to key nodes
State CN6: Maintenance Failing

Symptoms: Context network was once useful but now drifts from reality. status.md describes old state. Decisions documented but not updated. Agent references outdated information.

Key Questions:

  • When was the network last meaningfully updated?
  • What triggers should cause updates?
  • Who/what is responsible for maintenance?

Interventions:

  • Establish maintenance cadence
  • Define update triggers
  • Integrate with context-retrospective skill for continuous improvement

Operational Modes

Bootstrap Mode (CN0/CN1 → CN2)

Use when starting fresh or organizing scattered documentation.

Process:

1. Existing Documentation Scan

Automatically scan for:

  • README.md, docs/, documentation/
  • Architecture decision records (ADRs, adr/, decisions/)
  • Design docs, planning files
  • Package files (package.json, Cargo.toml, pyproject.toml) for project metadata
  • Existing .claude/ or memory bank structures

Report findings:

Found existing documentation:
- README.md (2.3kb) - Project overview, setup instructions
- docs/architecture.md (5.1kb) - System design
- docs/api.md (3.2kb) - API reference

Recommendation: Migrate architecture.md to context/architecture/,
keep README.md in place as user-facing doc.
2. Project Discovery Questions

Ask:

  • Project type? Software / Research / Creative / Personal Knowledge
  • Primary domains? (For software: frontend, backend, data, infra, etc.)
  • Stakeholders? Solo / Team / Agents / Mixed
  • Expected lifespan? Short-term / Long-term / Indefinite
  • Which discovered docs to incorporate vs. leave in place?
3. Structure Generation

Generate based on project type:

For software projects:

context/
├── status.md           # Current state, active work
├── decisions.md        # Architecture decisions
├── glossary.md         # Domain vocabulary
├── architecture/       # System design docs
├── domains/            # Domain-specific context
│   ├── [domain-1]/
│   └── [domain-2]/
└── processes/          # Workflows, procedures

For research projects:

context/
├── status.md           # Current research state
├── decisions.md        # Methodology decisions
├── glossary.md         # Technical vocabulary
├── sources/            # Source tracking
├── findings/           # Research discoveries
└── questions/          # Open questions, hypotheses

For creative projects:

context/
├── status.md           # Current project state
├── decisions.md        # Creative decisions
├── glossary.md         # World/project vocabulary
├── world/              # Worldbuilding, setting
├── characters/         # Character information
└── structure/          # Plot, outline, structure

For personal knowledge:

context/
├── status.md           # Current focus areas
├── decisions.md        # System decisions
├── glossary.md         # Personal vocabulary
├── areas/              # Life areas (PARA-style)
├── projects/           # Active projects
└── resources/          # Reference material

Also generate:

  • .context-network.md discovery file in project root
  • CLAUDE.md with basic agent instructions (if not present)
4. Migration Execution

For docs user wants to incorporate:

  • Copy/move to appropriate context network location
  • Convert format if needed (e.g., flatten ADRs into decisions.md entries)
  • Update internal cross-references
  • Add relationship metadata
5. Content Coaching

Guide user to populate:

  • status.md: Current state, recent changes, active work
  • decisions.md: Key decisions made, rationale, date
  • glossary.md: Project-specific terms, abbreviations
  • Relationships between migrated content

Maintenance Mode (CN2-CN6 → improved state)

Use when network exists but needs improvement.

Process:

1. State Diagnosis

Analyze:

  • Structure completeness: Required files present? Domains covered?
  • Relationship density: Cross-references per document? Orphan files?
  • Navigation paths: Clear entry points? Task-based routes?
  • Guidance clarity: CLAUDE.md actionable? Instructions followed?
  • Freshness: Last update dates? Stale content?

Produce diagnosis:

Current State: CN3 (Navigation Broken)

Findings:
- 23 context files, 8 with no incoming links (orphans)
- status.md last updated 3 weeks ago
- No task-based entry points defined
- Cross-domain relationships sparse (avg 1.2 per file)

Priority Issues:
1. [Critical] status.md is stale - blocks agent orientation
2. [High] 8 orphan files - content exists but undiscoverable
3. [Medium] Missing hub for API-related context
2. Gap Identification

Prioritize:

  • Critical: Blocking agent effectiveness (can't find what it needs)
  • High: Requires real-time discovery (agent has to search)
  • Medium: Would improve efficiency (extra steps to navigate)
  • Low: Nice-to-have (marginal improvement)
3. Intervention

Based on diagnosed state:

StateGenerateCoach
CN2Relationship templatesHow to identify connections
CN3Hub documents, navigation guidesTask-based organization
CN4CLAUDE.md refinementsWriting actionable instructions
CN5Dependency map templatesImpact analysis process
CN6Maintenance cadence docUpdate triggers, responsibilities

Show full SKILL.md (622 more words)Show less
Retrospective Integration

Accept output from context-retrospective skill:

  1. Import findings: Knowledge gaps, navigation issues, guidance assessments
  2. Map to states: Which CN state do these findings indicate?
  3. Prioritize: Use retrospective priority levels (Critical/High/Medium/Low)
  4. Execute: Run appropriate maintenance mode interventions

Anti-Patterns

The Empty Scaffold

Pattern: Generating full directory structure but leaving files empty or with placeholder content only. Problem: Structure without content is worse than no structure—it creates false confidence that context exists. Fix: Generate only structure user commits to populating. Start with status.md and one domain. Expand as content accumulates.

The Kitchen Sink

Pattern: Initial network tries to anticipate every possible need. Complex taxonomies, deep hierarchies, elaborate metadata. Problem: Maintenance burden exceeds value. Network becomes intimidating. Users avoid updating it. Fix: Start minimal. Add structure only when pain emerges from its absence. Two levels of hierarchy maximum initially.

The Orphan Network

Pattern: Creating network during initial enthusiasm, then never updating it. status.md frozen in time. Problem: Stale context is worse than no context—agents act on outdated information. Fix: Establish minimal maintenance triggers: update status.md at session start/end. Schedule periodic retrospectives.

The Template Trap

Pattern: Using templates without adaptation. Every file has same sections regardless of relevance. Problem: Boilerplate obscures actual content. Templates become noise to skip. Fix: Templates are starting points, not requirements. Delete irrelevant sections. Add project-specific ones.

The Completeness Illusion

Pattern: Believing the network can/should capture everything. Adding more and more detail hoping to prevent all gaps. Problem: Signal-to-noise degrades. Navigation becomes impossible. Maintenance unsustainable. Fix: Focus on high-impact gaps. Document what agents actually need. Accept that some discovery will always be real-time.


Verification (Oracle)

What This Skill Can Verify
  • Structure completeness - Required files exist, directories present
  • Link validity - Cross-references point to existing targets
  • Freshness indicators - Last-modified dates, update frequency
  • Orphan detection - Files with no incoming references
What Requires Human Judgment
  • Content quality - Is the information accurate and useful?
  • Relationship accuracy - Do documented connections reflect reality?
  • Appropriate scope - Is the network right-sized for the project?
  • Navigation effectiveness - Do paths match actual usage patterns?

Design Constraints

This Skill Assumes
  • Project benefits from persistent context across sessions
  • User wants agent-accessible documentation
  • Some structure is better than pure freeform notes
This Skill Does Not Handle
  • Real-time project work - Route to: domain-specific skills
  • Retrospective analysis of agent sessions - Route to: context-retrospective
  • Framework development - Route to: skill-builder
Degradation Signals
  • User wants "just a README" - may not need full network
  • Project lifespan < 1 week - overhead may exceed benefit
  • Pure spike/experiment - freeform notes may be better fit

Output Persistence

Output Discovery

Before generating structure:

  1. Check for existing .context-network.md
  2. Check for existing context/ directory
  3. If starting fresh, confirm target location with user
Primary Output

This skill generates:

  • .context-network.md - Discovery file
  • context/ directory structure
  • Template files (status.md, decisions.md, glossary.md)
  • CLAUDE.md updates (if needed)
What Goes Where
Goes to FileStays in Conversation
Directory structureDiagnosis discussion
Template filesCoaching Q&A
Discovery fileMigration decisions
CLAUDE.md updatesPrioritization reasoning

Integration Graph

Inbound (From Other Skills)
Source SkillTriggerAction
context-retrospectiveGap findingsRun Maintenance Mode
skill-builderNew skill needs contextRun Bootstrap Mode
Outbound (To Other Skills)
TriggerTarget SkillReason
Agent behavior problems persist after CN4 interventionReview CLAUDE.md patternsMay need skill-level changes
Network mature, want continuous improvementcontext-retrospectiveRegular health checks
Complementary Skills
SkillRelationship
context-retrospectivePost-hoc analysis feeds maintenance mode
skill-builderSkills may need context network infrastructure

Example Interaction

User: "I'm starting a new TypeScript project and want to set up a context network."

Your approach:

  1. Scan for existing documentation (package.json, README, etc.)
  2. Ask: "What's the primary domain? (e.g., API, CLI, library, full-stack app)"
  3. Generate software-project scaffold based on answer
  4. Create .context-network.md and context/ structure
  5. Coach: "Start with status.md - what's the current state of the project?"

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

Files

SKILL.md and 9 other files in skills/general/meta/context-network of jwynia/agent-skills.

  • SKILL.md
  • scaffolds/creative-project.md
  • scaffolds/personal-knowledge.md
  • scaffolds/research-project.md
  • scaffolds/software-project.md
  • templates/decisions.md
  • templates/discovery-file.md
  • templates/glossary.md
  • templates/node-template.md
  • templates/status.md

Open the folder on GitHubat commit e02ec7e

Compare with similar skills

Context Network 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 Network compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Network this skilljwynia/agent-skills166—~3.9kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from jwynia/agent-skills

All 112 skills in this repo
  • Devcontainer

    jwynia/agent-skills

    Diagnose devcontainer configuration problems and guide development environment setup.

    166 GitHub stars~1.2k tokensUpdated 7 mo ago
    Auto-check: notes
  • Frontend Design

    jwynia/agent-skills

    Create distinctive, production-grade frontend interfaces with high design quality.

    166 GitHub stars~3.2k tokensUpdated 7 mo ago
    Auto-check passed
  • Gitea Workflow

    jwynia/agent-skills

    Orchestrate agile development workflows for Gitea repositories using the tea CLI.

    166 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Godot Asset Generator

    jwynia/agent-skills

    Generate game assets using AI image generation APIs (DALL-E, Replicate, fal.ai) and prepare them for Godot.

    166 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Mastra Hono

    jwynia/agent-skills

    Develop AI agents, tools, and workflows with Mastra v1 Beta and Hono servers.

    166 GitHub stars~2.9k tokensUpdated 7 mo ago
    Auto-check passed
  • PPTX Generator

    jwynia/agent-skills

    Create and manipulate PowerPoint PPTX files programmatically.

    166 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed

Categories

Questions about Context Network

What does Context Network do?

Bootstrap, maintain, and evolve context networks across their full lifecycle. Context Network is an agent skill from jwynia/agent-skills. Bootstrap, maintain, and evolve context networks across their full lifecycle.

When should I use Context Network?

Context Network fits situations like: starting a new project; existing documentation feels scattered; agent effectiveness degrades due to missing context.

How do I install Context Network in Claude Code?

Run `npx skills add jwynia/agent-skills --skill context-network -a claude-code`. Or copy the skill folder (skills/general/meta/context-network in jwynia/agent-skills) into .claude/skills/context-network in your project. Claude Code loads it when a task matches its description.

How do I install Context Network in Codex?

Run `npx skills add jwynia/agent-skills --skill context-network -a codex`. Or copy the skill folder (skills/general/meta/context-network in jwynia/agent-skills) into .agents/skills/context-network in your project. Codex loads it when a task matches its description.

Can I use Context Network 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 jwynia/agent-skills --skill context-network -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-network, .gemini/skills/context-network, .github/skills/context-network and .opencode/skills/context-network in your project.

What does Context Network need to run?

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

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

Context Network is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Network use?

About 3.9k tokens (SKILL.md is roughly 16k 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 Network?

Skills that share tags, products or a category with Context Network: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Network?

jwynia (a GitHub user) maintains it in jwynia/agent-skills, which has 166 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on February 24, 2026.

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