Skip to content
Back to skills

Ackit Context Optimization

ASecurity

Build budgeted context packs and trim instruction bloat for coding agents.

  • 15 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsgo

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add Cynrath/agent-context-kit --skill ackit-context-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ackit Context Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ackit Context Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cynrath-ackit-context-optimization/badge)](https://www.skillsdirectory.com/skills/cynrath-ackit-context-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ackit-context-optimization
description: Build budgeted context packs and trim instruction bloat for coding agents.
---

# Context Optimization

Activate when the user asks to prepare context for an agent session or reduce
token usage.

See [ranking signals](references/ranking.md) for deterministic ordering.

## Steps

1. `ackit pack --max-tokens <budget> [--format markdown|json] [--include <globs...>] [--changed] [--profile codex|claude|copilot|gemini|generic] [--task <id>] [--resume]` to generate a deterministic pack with a manifest of included/excluded files and reasons (`relativePath`, `action`, `reason`, `estimatedTokens`, `sha256`, `bytes`). Task-aware ranking (`--task`) and checkpoint resume (`--resume`) keep packs scoped; greedy fill excludes over-budget candidates with `budget exhausted`.
2. Review exclusions; add explicit includes only when the ranking missed real relevance (explicit include is the highest signal; no embeddings).
3. For bloated instructions, run `ackit optimize [--profile <name>] [--category <cat>] [--min-severity low|medium|high] [--explain] [--format terminal|json|markdown|sarif]` (read-only by default) and apply suggestions manually or with `ackit optimize --fix [--dry-run] [--diff]` — fixes apply ONLY to ACKit-managed surfaces.

## Notes

- Token counts are character-class estimates (~4 chars/token); treat budgets as soft targets.
- Safety gates run before scoring: secret-shaped content excluded, duplicate hashes deduped, machine-local paths scrubbed to `<local-path>`.
- Never paste repository content into external services.

Files in this skill

  • SKILL.md1.6 KB
  • references/ranking.md1002 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.