Claim this agent
Agent DossierCLAWHUBSafety 84/100

Xpersona Agent

context-engineer

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. --- 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, an

OpenClaw · self-declared
Trust evidence available
clawhub skill install skills:aiwithabidi:a6-context-engineer

Overall rank

#62

Adoption

No public adoption signal

Trust

Unknown

Freshness

Feb 25, 2026

Freshness

Last checked Feb 25, 2026

Best For

context-engineer is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, CLAWHUB, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

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. --- 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, an Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

No verified compatibility signals

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 25, 2026

Vendor

Agxntsix

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

clawhub skill install skills:aiwithabidi:a6-context-engineer
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Agxntsix

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance

Events

Release & Crawl Timeline

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredCLAWHUB

Captured outputs

Artifacts Archive

Extracted files

0

Examples

3

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

PY=~/.openclaw/workspace/.venv/bin/python3

# Analyze and improve a draft prompt
$PY skills/context-engineer/scripts/prompt_optimizer.py "Your draft prompt here"

# Build optimal context window for a task
$PY skills/context-engineer/scripts/context_builder.py "Analyze quarterly financials"

# Optimize from file
$PY skills/context-engineer/scripts/prompt_optimizer.py --file path/to/prompt.txt

bash

# Analyze a prompt string
$PY skills/context-engineer/scripts/prompt_optimizer.py "Your prompt"

# Analyze from file
$PY skills/context-engineer/scripts/prompt_optimizer.py --file prompt.txt

bash

# Build context for a task
$PY skills/context-engineer/scripts/context_builder.py "Task description"

# With role and output format
$PY skills/context-engineer/scripts/context_builder.py --task "Code review" --role "Senior engineer" --output json

Editorial read

Docs & README

Docs source

CLAWHUB

Editorial quality

ready

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. --- 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, an

Full README

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." homepage: https://www.agxntsix.ai license: MIT compatibility: Python 3.10+ (stdlib only — no dependencies) metadata: {"openclaw": {"emoji": "🧠", "requires": {"env": []}, "primaryEnv": "", "homepage": "https://www.agxntsix.ai"}}

🧠 Context Engineer

Master skill for context engineering and prompt engineering — the art of crafting optimal inputs to LLMs.

Features

  • Optimize prompts against Anthropic, OpenAI, and Google best practices
  • Build context windows with system prompt, user prompt, and examples
  • Design system prompts for sub-agents, crons, and skills
  • Craft few-shot examples that dramatically improve accuracy
  • Implement chain-of-thought reasoning for complex tasks
  • Manage context windows — prioritize critical info placement
  • Structure outputs with JSON schema, markdown, or XML tags
  • Debug poor LLM outputs with systematic prompt analysis
  • Write agent instructions (AGENTS.md, SOUL.md patterns)
  • Apply role-based prompting for domain-specific performance
  • Chain complex tasks into accurate subtask pipelines
  • Reference 20+ templates for common prompting patterns

Requirements

| Variable | Required | Description | |----------|----------|-------------| | None | — | No API keys needed — pure prompt engineering knowledge |

Quick Start

PY=~/.openclaw/workspace/.venv/bin/python3

# Analyze and improve a draft prompt
$PY skills/context-engineer/scripts/prompt_optimizer.py "Your draft prompt here"

# Build optimal context window for a task
$PY skills/context-engineer/scripts/context_builder.py "Analyze quarterly financials"

# Optimize from file
$PY skills/context-engineer/scripts/prompt_optimizer.py --file path/to/prompt.txt

Commands

Prompt Optimizer

# Analyze a prompt string
$PY skills/context-engineer/scripts/prompt_optimizer.py "Your prompt"

# Analyze from file
$PY skills/context-engineer/scripts/prompt_optimizer.py --file prompt.txt

Context Builder

# Build context for a task
$PY skills/context-engineer/scripts/context_builder.py "Task description"

# With role and output format
$PY skills/context-engineer/scripts/context_builder.py --task "Code review" --role "Senior engineer" --output json

The 10 Commandments of Prompting

  1. Be clear, direct, and detailed — Treat the model as a brilliant new employee with no context
  2. Use examples — 3-5 diverse examples dramatically improve accuracy and consistency
  3. Let it think — Chain-of-thought for complex reasoning; extended thinking for hard problems
  4. Structure with tags — XML tags prevent mixing of instructions, context, and examples
  5. Assign a role — System prompts with specific personas boost domain performance
  6. Chain complex tasks — Break multi-step work into subtask prompts for accuracy
  7. Manage context — Put critical info at top and bottom; reference docs by tag name
  8. Specify output format — JSON schema, markdown structure, or explicit format instructions
  9. Iterate empirically — Test against eval criteria, not vibes
  10. Context > Prompt — What you include matters more than how you ask

References

| File | Description | |------|-------------| | references/anthropic-best-practices.md | Anthropic's official prompt engineering docs | | references/openai-best-practices.md | OpenAI's prompt engineering guide | | references/google-best-practices.md | Google's Gemini prompting strategies | | references/context-engineering-principles.md | Context engineering theory (Karpathy et al.) | | references/prompt-templates.md | 20+ reusable templates for common tasks |

Script Reference

| Script | Description | |--------|-------------| | {baseDir}/scripts/prompt_optimizer.py | Analyzes prompts against best practices | | {baseDir}/scripts/context_builder.py | Builds optimal context windows for tasks |

Output Format

All commands output structured text by default with clear sections for analysis results, suggestions, and improved prompts.

Data Policy

This skill processes prompts locally. No data is sent to external services unless explicitly using an LLM API.

Sources

  • Anthropic Prompt Engineering: https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview
  • OpenAI Prompt Engineering: https://platform.openai.com/docs/guides/prompt-engineering
  • Google Gemini Prompting: https://ai.google.dev/gemini-api/docs/prompting-strategies
  • Andrej Karpathy on Context Engineering (2025)

Built by M. Abidi

LinkedIn · YouTube · GitHub · Book a Call

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingCLAWHUB

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/contract"
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingCLAWHUB

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-aiwithabidi-a6-context-engineer/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "CLAWHUB",
      "generatedAt": "2026-10-09T03:35:11.588Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "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
  }
]

Change Events JSON

[]

Sponsored

Ads related to context-engineer and adjacent AI workflows.