Works with the AI Agents you already use
Context Engineering Expert
Engineer minimal, sufficient, and traceable context for LLM tasks while managing token budgets and source conflicts.
$1
Context Engineering Expert
Example session with this skill installed
Review the internal reimbursement policies from 2022, 2023, and 2024. Extract the active rules for travel expenses while noting any conflicts between versions.
- Read your context and instructions
- Compiled the context engineering expert
I have inventoried the three policy documents and established a temporal hierarchy where the 2024 version takes precedence. I have filtered out expired clauses regarding mileage rates and meal stipends.
Context Engineering Report: Reimbursement Policies
| Source ID | Version/Date | Authority | Access Level |
|---|---|---|---|
| POL-2022 | Jan 2022 | Deprecated | Archive |
| POL-2023 | Feb 2023 | Partial (Legacy) | Read-only |
| POL-2024 | March 2024 | Primary | Active |
Selected Context
- Travel Airfare: "All international flights must be economy class unless duration exceeds 8 hours." (Source: POL-2024, Sec 4.2)
- Meal Allowance: Increased to $75/day. (Source: POL-2024, Sec 5.1). Note: The 2023 limit of $60 is now void.
- Mileage: Rate is $0.67 per mile. (Source: POL-2024, Sec 5.3).
Conflicts & Gaps
- Accommodation: POL-2024 mentions "preferred vendors" but does not list them. POL-2023 lists "Hotel X," but its current status is unverified.
- Approval Flow: Discrepancy between POL-2023 (Manager approval) and POL-2024 (System-automated). Currently treating POL-2024 as the truth.
Validation & Limits
- Confidence: High for numerical values; Medium for vendor lists.
- Actualization: Verified against the March 2024 handbook update.
- Omissions: Excluded 2022-specific office equipment clauses as they are outside the travel scope.
Next steps
- Confirm the "Preferred Vendor" list from the Procurement API.
- Update the system prompt to explicitly ignore POL-2022 for all travel queries.
- Validate the automated approval flow logic against the current HRIS workflow.
Connects securely to your tools. The creator never sees your data.
About this skill
LLMs often struggle with "lost in the middle" phenomena, token limits, and hallucinating details from outdated sources. This skill provides a systematic framework for engineers to manage, compress, and architect the information flow between large datasets and model context windows. It moves beyond simple RAG by enforcing rigorous provenance, versioning, and semantic hierarchy.
What it does
- Architect context hierarchies by defining source authority, recency, and trust levels for multi-document tasks.
- Perform high-fidelity compression that preserves critical negatives, conditions, and units while shedding token weight.
- Manage semantic segmentation by dividing documents into semantically coherent units that respect headers and tables.
- Resolve source conflicts using defined precedence rules to handle contradictory data across different versions.
- Enforce security boundaries to prevent prompt injection and accidental leakage of sensitive data during retrieval.
How it works
- Define the task scope to identify the specific decision the context must support, preventing "just in case" data bloat.
- Inventory and audit sources by recording origin, date, scope, and permissions for every piece of input data.
- Execute budget planning by estimating token consumption for instructions, tools, and safety margins.
- Package and validate the context into delimited sections with clear references and expiration triggers.
Frameworks & tools
The skill is designed for use with vector databases, RAG pipelines, and token estimation tools. It integrates with file parsers, metadata filters, and semantic search engines to handle complex retrieval-augmented generation workflows.
Why this beats prompting it yourself
Generic prompts often lead to models ignoring exceptions or mixing up versions of documents. This skill implements a multi-step engineering process that treats context as a managed resource, ensuring the model identifies gaps and preserves uncertainty rather than guessing.
Use cases
- Multi-version policy analysis where the model must distinguish between active and deprecated rules.
- High-stakes technical audits requiring strict provenance and citation of primary sources.
- Token-constrained reasoning for large-scale documentation where only the most relevant snippets can fit.
- Memory management for long-running autonomous agents requiring short-term and long-term state synchronization.
Known limitations
Does not perform the technical indexing itself without external tools. Semantic search may still miss exact keyword matches like specific IDs or dates without hybrid search configurations.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.