agentleFS
zedarvateszedarvates/frugal-skills/skills/context-slicer/SKILL.md

context-slicer

Skill1 starsChanged 31 days agoMITView on GitHub

Instructions for upstream typed context slicing by headings and markers, with token estimates, priorities and task-type selection. Use to plan how several agents can consume relevant portions of shared context. Not for explicit-budget selection (context-budget) or permanently pruning unused sections (prefix-pruner).

The file

Files
SKILL.md

context-slicer — typed slices, loaded on demand

Package scope and prerequisites

This catalog ships instructions, not the executable runtime. Python modules, scripts, local services and optional tools named below must be installed separately from the upstream project. Check their availability before running commands; if they are missing, explain the prerequisite instead of claiming execution or results. The host agent may use model tokens while following these instructions.

Commands, APIs and runtime behavior described below are conditional examples for a compatible upstream installation; they are not evidence of execution in this package.

Purpose

An independent block of context that can be loaded or skipped on its own, classified by type and priority, and selected per agent and per task type.

When NOT to use

  • The constraint is a token budget rather than a task type — use context_budget.
  • You want to delete dead sections permanently — use prefix_pruner.
  • Several agents share one large stable prompt prefix — use prefix_tree.

Usage

python -m skills.context_slicer.cli --help

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.