Skip to content
cccskills
FreePublished on GitHub

agent-ops-context-map

Analyze the codebase to create a concise, LLM-optimized structured overview in .agent/map.md.

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md3.1 KB
  • metadata.json1.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Context Map Generation

Purpose

Create a high-level, token-efficient overview of the system (.agent/map.md) to allow reasoning about the whole project without reading every file.

Confidence-Based Staleness Thresholds

Map freshness requirements scale with confidence level:

ConfidenceMax AgeRefresh Requirement
LOW24 hoursMANDATORY before implementation
NORMAL7 daysRECOMMENDED if significant changes
HIGH30 daysOPTIONAL

Staleness Check

When invoked (or before low confidence work):

📍 CONTEXT MAP STALENESS CHECK

Map file: .agent/map.md
Last updated: {date} ({N} days ago)
Confidence level: {confidence}
Max age for confidence: {threshold}

{If stale:}
⚠️ Context map is STALE for {confidence} confidence work.

For LOW confidence, understanding the codebase is critical.
Refreshing map before proceeding...

{If fresh:}
✅ Context map is current ({N} days old, threshold: {threshold} days)

Low Confidence Refresh Requirements

For LOW confidence work:

  1. Check map age — if > 24 hours, refresh is MANDATORY
  2. Check for recent changes — git diff since last map update
  3. Partial refresh option — focus on affected areas if full refresh is expensive
🔄 LOW CONFIDENCE CONTEXT MAP REFRESH

Affected areas for {ISSUE-ID}:
- src/services/ (target of changes)
- src/models/ (dependencies)
- tests/services/ (test coverage)

Refresh options:
1. Full refresh (entire codebase)
2. Partial refresh (affected areas only)
3. Skip (NOT RECOMMENDED for low confidence)

Proceeding with partial refresh...

Procedure

  1. Scan the file structure (limit to 2-3 levels of depth).
  2. Identify key architectural elements:
    • Critical configuration files (package.json, pyproject.toml, docker-compose, etc.)
    • Entry points (main.py, index.js, App.tsx)
    • Core modules and their responsibilities.
  3. Summarize architecture patterns and data flow.
  4. Write/Update .agent/map.md with the following structure:
    • System Overview: One paragraph summary of purpose and stack.
    • Key Components: List of major modules/folders and what they do.
    • Patterns: Architectural decisions (e.g., MVC, Repository pattern, Event-driven).
    • Key Files: Table of critical files and their specific role.
    • Last Updated: Timestamp for staleness tracking.
  5. Constraint: Keep the file concise (target < 150 lines). It is a map, not a territory.

Map Header Template

Include this header in map.md for staleness tracking:

# Context Map

**Generated**: {YYYY-MM-DD HH:MM}
**Scope**: {full | partial: areas}
**Confidence**: {confidence level that triggered refresh}

---

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

[00] TnR ABSOLUTE RIGOR — Systemic Verification Doctrine. Forced cognitive exertion for high-stakes investigations. Mandates absolute deconstruction, mathematical proof chains, and ≥95% derived certainty. Zero-tolerance for heuristics or sentiment-based reasoning. Shortcuts are defined as intentional hallucinations.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill64Updated Mar 2, 2026

2agent

Free

Configures 2-Agent workflow between PM and implementation roles. Use when user mentions 2-Agent, 2エージェント, PM連携設定, Cursor設定, Cursor連携, 2-agent運用. Do NOT load for: 単独運用, ワークフロー実行, ハンドオフ処理.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill64Updated Mar 2, 2026

Appends relevant hashtags to journal entries based on content analysis. Intended for LLM execution.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill64Updated Mar 2, 2026

Add a new AI coding agent to Agent Sandbox. Creates all required files (Dockerfile, templates, CI, docs) and wires the agent into the CLI, proxy, and build system.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill64Updated Mar 2, 2026

Add a new property to the AI agents database. Use when the user wants to add, create, or introduce a new column, property, field, or feature to track across all agents in the comparison matrix. Handles all four required steps - database updates, groups.json, table display, and GitHub issue templates.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill64Updated Mar 2, 2026

Add new Agent templates to the meta-agent-skills framework.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill64Updated Mar 2, 2026

See all skills by diegosouzapw

Report a problem with this skill