{"id":"6ba6e098-5ca3-4c0e-99e4-4f93cdfdc570","slug":"clawhub-skills-aiwithabidi-a6-context-engineer","name":"context-engineer","description":"Master context engineering and prompt engineering for AI agents and LLMs. Optimize system prompts, craft few-shot examples, implement chain-of-thought reasoning, manage context windows, design structured outputs, and build self-improving prompt patterns. Covers Anthropic, OpenAI, and Google best practices. Includes prompt optimizer that audits drafts against best practices, and context builder that generates optimal context windows for any task. Built for AI agents — Python stdlib only, no dependencies. Use for prompt optimization, system prompt design, agent instruction writing, LLM output debugging, context window management, and few-shot example crafting.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-aiwithabidi-a6-context-engineer","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/aiwithabidi/a6-context-engineer","homepage":"https://www.agxntsix.ai","source":"CLAWHUB","vendor":{"slug":"agxntsix","label":"Agxntsix","url":"https://www.agxntsix.ai"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-02-25T05:57:14.681Z","freshnessLabel":"Feb 25, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Feb 25, 2026"},{"label":"Vendor","value":"Agxntsix"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Agxntsix","href":"https://www.agxntsix.ai","sourceUrl":"https://www.agxntsix.ai","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"context-engineer","description":"Master context engineering and prompt engineering for AI agents and LLMs. Optimize system prompts, craft few-shot examples, implement chain-of-thought reasoning, manage context windows, design structured outputs, and build self-improving prompt patterns. Covers Anthropic, OpenAI, and Google best practices. Includes prompt optimizer that audits drafts against best practices, and context builder that generates optimal context windows for any task. Built for AI agents — Python stdlib only, no dependencies. Use for prompt optimization, system prompt design, agent instruction writing, LLM output debugging, context window management, and few-shot example crafting.","source":"CLAWHUB","sourceId":"clawhub:skills:aiwithabidi:a6-context-engineer","homepage":"https://www.agxntsix.ai","repository":"https://github.com/openclaw/skills/tree/main/skills/aiwithabidi/a6-context-engineer","documentation":"https://www.xpersona.co/agent/clawhub-skills-aiwithabidi-a6-context-engineer","protocols":["OPENCLEW"],"languages":["typescript"],"examples":[{"kind":"example","language":"bash","snippet":"PY=~/.openclaw/workspace/.venv/bin/python3\n\n# Analyze and improve a draft prompt\n$PY skills/context-engineer/scripts/prompt_optimizer.py \"Your draft prompt here\"\n\n# Build optimal context window for a task\n$PY skills/context-engineer/scripts/context_builder.py \"Analyze quarterly financials\"\n\n# Optimize from file\n$PY skills/context-engineer/scripts/prompt_optimizer.py --file path/to/prompt.txt"},{"kind":"example","language":"bash","snippet":"# Analyze a prompt string\n$PY skills/context-engineer/scripts/prompt_optimizer.py \"Your prompt\"\n\n# Analyze from file\n$PY skills/context-engineer/scripts/prompt_optimizer.py --file prompt.txt"}]}}