بنقرة واحدة
context
Context window conservation rules. Invoke when approaching context limits or before large tasks.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Context window conservation rules. Invoke when approaching context limits or before large tasks.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold a new dashboard chart component with registry, types, and proper theme integration.
Create a new customizable dashboard with its own chart registry, provider, and page. Use when adding dashboards like DRep or SPO dashboard.
Deep reflection on the skill learning system itself. Analyzes what's working, what's stale, and proposes structural improvements. The meta-skill.
End-of-session automation. Creates a journey and evolves skills based on session learnings.
Run the build and intelligently fix TypeScript errors with guardrails. Stops if fixes introduce more errors or the same error persists after 3 attempts.
Security and quality review of uncommitted changes. Checks for vulnerabilities, code smells, and best practice violations. Use before committing.
| name | context |
| updated | "2026-03-03T00:00:00.000Z" |
| description | Context window conservation rules. Invoke when approaching context limits or before large tasks. |
| argument-hint | (no arguments) |
| allowed-tools | Read, Edit, Glob, Grep |
Rules for maximizing work done per context window. Every token spent on exploration is a token not spent on implementation.
| Need | Use | NOT |
|---|---|---|
| Find a file by name | Glob | Explore agent, find, ls -R |
| Find a symbol in code | Grep (files_with_matches) | Explore agent, Read + scan |
| Read specific lines | Read (offset/limit) | cat, head, full-file Read |
| Simple edit | Edit | sed, awk, Write (full rewrite) |
| Repeated pattern edit | Edit with replace_all: true | Multiple individual Edits |
| Add key to 7 i18n files | 7 parallel Edits | Invoke i18n skill |
Don't use Explore/Task agent when:
Do use Explore agent when:
Don't invoke a skill when:
Do invoke a skill when:
BAD: Read(file, offset=1, limit=2000) // entire file, huge context cost
BAD: Read(file) // same — default reads everything
OK: Read(file, offset=350, limit=50) // 50 lines around target
GOOD: Read(file, offset=368, limit=5) // just the lines you need
After a Grep gives line 370, read lines 368-373 (offset=368, limit=6). Not 300-450.
replace_all: true — for patterns repeated across a file (e.g., renaming a variable). One Edit, not N.old_string just needs to be unique, not the whole function.Grep(pattern, output_mode="files_with_matches") — cheapest, just filenamesGrep(pattern, output_mode="content", -n=true) on the specific file — gives line numbersRead(file, offset=line-2, limit=10) — surgical readFor identical edits across multiple files:
Total: 1 Grep + 7 Reads + 7 Edits = 15 tool calls. Not a skill invocation + exploration.
Files over ~300 lines cost 1-2K tokens per full read. A read-edit-read cycle on a 1000+ line file eats 4-6K tokens. When a file repeatedly causes context pressure:
2026-03-03-monster-file-decomposition journey)Current monster files remaining: GovernanceTable.tsx (1263), drep/[drepId].tsx (1392)
| Anti-pattern | Cost | Fix |
|---|---|---|
| Explore agent for known files | ~50K tokens | Direct Grep + Read |
| Full-file Read to find one function | ~5K tokens | Grep for function name first |
| Reading file before every Edit | 2x reads | Read once, Edit, trust output |
| Loading large skill for small task | ~3K tokens | Just do the task directly |
| Re-reading after successful Edit | Wasted read | Edit tool already confirms |
| Sequential reads that could be parallel | Wasted turns | Batch into one message |