AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ai Context Engineer

skill-daemon-blockint-tech-agentic-enteprises-skill-ai-context-engineer · by daemon-blockint-tech

|

No reviews yet
0 installs
44 views
0.0% view→install

Install

$ agentstack add skill-daemon-blockint-tech-agentic-enteprises-skill-ai-context-engineer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-daemon-blockint-tech-agentic-enteprises-skill-ai-context-engineer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ai Context Engineer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

AI Context Engineer

When to Use

  • Designing what enters the model context each turn
  • Optimizing cost/latency via context strategy and token budgeting
  • Building context pipelines for agents (prefix, retrieval, history, user input)
  • Implementing summarization, compaction, or rolling history
  • Debugging context-related failures (lost instructions, overflow, distraction, ignored constraints)
  • Choosing delimiters, XML blocks, or structured context formats

When NOT to Use

  • Persistent memory store design or long-term recall architecture → ai-memory-developer
  • Full RAG ingest/chunk/embed/index pipelines → ai-engineer
  • AI org operations, release governance, or SLOs → ai-lead-ops
  • Structured token/cost improvement roadmaps with phased KPIs → ai-token-improvement-plan-engineer
  • Commercial/enterprise AI solution architecture → applied-ai-architect-commercial-enterprise

Related skills

| Need | Skill | |---|---| | Memory stores and long-term recall | ai-memory-developer | | RAG ingest/chunk/embed | ai-engineer | | System and tool prompts | prompt-engineer | | Red-team injection via context | ai-redteam | | Cost and production SLAs | ai-lead-ops | | Token reduction program and roadmap | ai-token-improvement-plan-engineer | | Commercial/enterprise AI architecture | applied-ai-architect-commercial-enterprise | | Token efficiency research and ablations | research-engineer-scientist-tokens |

Core Workflows

1. Context budget and layout

Allocate tokens (example 128k window):

| Block | Budget % | Priority | |---|---|---| | System policy + tools | 15–25% | Fixed, never truncated | | Retrieved docs / memory | 30–45% | High, reranked | | Conversation history | 25–40% | Compress oldest first | | User current message | 5–10% | Never drop |

Use explicit XML/markdown sections: `, , , , `.

See references/context_layout.md for templates and delimiter rules.

2. History management

| Strategy | When | |---|---| | Full recent window | Short chats, high-stakes instructions in last N turns | | Rolling summary | Long sessions; summarize every K turns | | Anchor messages | Pin system + key user constraints; summarize middle | | Structured state | Replace chat with JSON task state for agents |

Preserve: user goals, constraints, unresolved tool errors, pending confirmations.

See references/history_compression.md for summarization prompts and pitfalls.

3. Retrieval into context

  1. Query from user message + state summary
  2. Retrieve candidates (RAG chunks, memories, tool outputs)
  3. Deduplicate overlapping passages
  4. Order by relevance; add source labels
  5. Truncate with sentence boundaries; show "[truncated]" when cut

See references/retrieval_packing.md for packing algorithms and citation format.

4. Caching and prefetch

  • Cache stable prefix (system + tools) where provider supports prompt caching
  • Prefetch retrieval while user types (optional)
  • Invalidate cache on prompt version change

See references/caching_prefetch.md for provider notes and invalidation.

5. Debug context failures

| Symptom | Likely cause | Fix | |---|---|---| | Ignored instruction | Buried in middle / summarized away | Move to system or last user turn | | Hallucinated doc | Weak retrieval | Raise threshold; require citation | | Overflow error | No budget enforcement | Pre-flight token count; compress | | Tool confusion | Ambiguous schemas in context | Separate tool block; shorten descriptions |

Log token counts per block in dev/staging.

See references/debugging_context.md for instrumentation checklist.

When to load references

  • Layout and budgetsreferences/context_layout.md
  • Summarizationreferences/history_compression.md
  • RAG/memory packingreferences/retrieval_packing.md
  • Cachingreferences/caching_prefetch.md
  • Debuggingreferences/debugging_context.md

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.