update-ai-context

Create and update hierarchical CLAUDE.md and AGENTS.md context documentation for codebases.

1|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/AbsolutSystems/absolutpowers --skill update-ai-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-ai-context
Source: https://github.com/AbsolutSystems/absolutpowers/tree/main/claude/skills/update-ai-context
Command: npx skills add https://github.com/AbsolutSystems/absolutpowers --skill update-ai-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill keeps AI-assisted project documentation aligned with the codebase, so Claude Code and Codex can rely on current context instead of stale instructions.

Core Features & Use Cases

  • Bootstrap or update project context: Creates or refreshes hierarchical CLAUDE.md source files for the repository and its major modules.
  • Mirror context for Codex: Generates sibling AGENTS.md files that stay in sync with CLAUDE.md files.
  • Discover patterns and propose rules: Scans the codebase to document recurring conventions in patterns.md and drafts mechanical review rules in rules.md.
  • Use case: Run it after onboarding a new project or after major code changes to regenerate AI-facing documentation and keep workflow guidance accurate.

Quick Start

Ask the assistant to run the update-ai-context skill on your project root so it can bootstrap or refresh CLAUDE.md, AGENTS.md, patterns.md, and rules.md.

Frequently Asked Questions about update-ai-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep CLAUDE.md files synced with my codebase after major changes?

To keep CLAUDE.md files synced, you can run an automated context update skill that inspects your filesystem, detects codebase patterns, and regenerates hierarchical AI context documentation to reflect current project workflows.

What is AI context documentation and why does my repository need it?

AI context documentation provides AI agents with accurate workflow guidance and project conventions. It is needed when onboarding new projects or after significant codebase changes, ensuring AI assistants rely on current instructions instead of stale data.

Can I generate AGENTS.md files alongside CLAUDE.md for Codex compatibility?

Yes, you can generate sibling AGENTS.md files that stay in sync with CLAUDE.md sources. The context update process automatically mirrors your hierarchical documentation to support both Claude Code and Codex environments.

How to discover codebase patterns and draft mechanical review rules for AI agents?

Discover codebase patterns by scanning the repository for recurring conventions, which are then documented in patterns.md. The system uses these discoveries to draft proposed mechanical review rules in rules.md for automated guidance.

When should I regenerate AI project context files for my codebase?

You should regenerate AI project context files during project onboarding, repository refreshes, or after significant codebase changes. This ensures AI agents receive accurate, up-to-date workflow guidance instead of relying on outdated instructions.