← Back to Skills

context-engineering

v1.0.0 approved updated today
USK v3 ✅ Verified
⬇ Download
Install Guide↓
🤖 Agent install commands (curl / MCP / Claude Desktop)
▸ curl one-liner
curl -L -o context-engineering.skill   "https://aiskillstore.io/v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=ClaudeCode"
▸ MCP tool call (after registering Skill Store MCP)
{
  "tool": "download_skill",
  "arguments": {
    "skill_id": "bd205e56-4eb6-4e9c-9ee9-58f155d7ec97",
    "platform": "ClaudeCode"
  }
}
▸ Claude Desktop / Cursor MCP config (one-time)
{
  "mcpServers": {
    "skill-store": {
      "url": "https://aiskillstore.io/mcp/"
    }
  }
}
📖 Full agent API guide: /llms.txt  ·  MCP server card

当用户说『AI越来越笨/答非所问/忘了前面的设定』『上下文太长』『token烧太快』『RAG召回不准』,或要设计/优化 agent 的提示、记忆、检索、工具编排时使用。把『上下文窗口里到底该放什么』当成一门工程:审计相关性·冗余·预算·衰减 四维度,给出裁剪/检索/记忆/门禁四步流程与可运行脚本(上下文预算计算器+审计清单生成器)。与 prompt engineering 的区别:prompt 是写一句话,context engineering 是设计 AI 每轮看到的全部信息。触发词:上下文工程、context engineering、上下文窗口、上下文污染、上下文衰减、context rot、token预算、RAG召回、记忆编排、agent上下文、长上下文优化。

# 上下文工程 # context engineering # 上下文窗口 # token预算 # RAG # 记忆编排 # agent优化

Basic Info

Owner 👤 Steven Zhao Category — Registered 2026-10-17 Last Updated 2026-10-17 Latest Version 1.0.0 Packaged At 2026-10-17 Vetting Status approved Downloads 0 Checksum (SHA256) c4c6da490865755b35226fda0611c0922ab16b2f425ac1fc8731778568158710

⚡ AGENT INFO USK v3

Capabilities
context_budget llm_engineering optimization
Permissions
✗ network
✗ filesystem
✗ subprocess
Interface
type: cli   entry_point: scripts/context_budget.py   runtime: python3   call_pattern: args
Agent API
# 스킬 스키마 조회 (에이전트가 호출 방법을 파악) GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/schema # 플랫폼별 자동 변환 다운로드 GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=OpenClaw GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=ClaudeCode GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=ClaudeCodeAgentSkill GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=Cursor GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=GeminiCLI GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=CodexCLI GET /v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=CustomAgent

Installation

1
Install the skill using openclaw_skill_manager.py.
python openclaw_skill_manager.py --install context-engineering
2
Verify installation
python openclaw_skill_manager.py --list-installed
3
Install a specific version (optional)
python openclaw_skill_manager.py --install context-engineering --version 1.0.0
1
Download the skill package.
curl -O https://aiskillstore.io/v1/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download
2
Place it in the Claude Code commands directory.
unzip context-engineering.skill -d ~/.claude/commands/context-engineering/
3
Use it as a slash command in Claude Code.
/context-engineering
1
Download the Agent Skills package.
curl -O https://aiskillstore.io/v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=ClaudeCodeAgentSkill
2
Unzip it into the Claude Code skills directory.
unzip context-engineering-agent-skill-*.skill -d ~/.claude/skills/context-engineering/
3
Restart Claude Code — the skill is auto-loaded at session start. No slash command needed.
1
Download the Cursor-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=Cursor
2
Unzip and place it in a permanent location.
unzip context-engineering-cursor-*.skill -d ~/.cursor/skills/context-engineering/
3
Add the MCP server config to .cursor/mcp.json, then restart Cursor.
cat ~/.cursor/skills/context-engineering/cursor_mcp_config.json
1
Download the Gemini CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=GeminiCLI
2
Unzip and place it in a permanent location.
unzip context-engineering-geminicli-*.skill -d ~/.gemini/skills/context-engineering/
3
Add the MCP server config to ~/.gemini/settings.json, then restart Gemini CLI.
cat ~/.gemini/skills/context-engineering/gemini_settings_snippet.json
1
Download the Codex CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download?platform=CodexCLI
2
Unzip and place it in a permanent location.
unzip context-engineering-codexcli-*.skill -d ~/.codex/skills/context-engineering/
3
Add the MCP server config to ~/.codex/config.toml, then restart Codex CLI.
cat ~/.codex/skills/context-engineering/codex_config_snippet.toml
1
Download the skill package via REST API.
GET https://aiskillstore.io/v1/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/download
2
Place it in your agent platform's skills directory.
cp context-engineering.skill ./skills/
3
Fetch platform-specific details via the Install Guide API.
GET https://aiskillstore.io/v1/skills/bd205e56-4eb6-4e9c-9ee9-58f155d7ec97/install-guide?platform=CustomAgent

Requirements

Security Vetting Report

Vetting Result CAUTION

Findings: ["메타데이터 경고: 권장 필드 없음: 'platform_compatibility' (SKILL.md v2 권장)", "USK v3 경고: input_schema.type이 'object'가 아닙니다", "USK v3 경고: output_schema.type이 'object'가 아닙니다", 'USK v3 경고: 이 스킬은 자동 변환 조건을 충족하지 않아 manual_install로 처리됩니다']

✅ No security risks found.

AI Review Stage

Reviewer gemini Risk Level 🟡 Medium Review Summary 제공된 스킬은 컨텍스트 예산 계산 및 감사 기능을 수행하며, 선언된 권한 및 도구 사용 범위 내에서 안전하게 작동합니다.

Issues Found

  • 메타데이터의 'permissions.filesystem: false' 설정과 'allowed-tools: Read' 및 실제 코드의 파일 읽기 기능 간의 잠재적 불일치. (플랫폼의 샌드박스 처리 및 'risk_rationale'에 따라 허용 가능한 것으로 판단)
Reasoning

스킬 메타데이터와 코드 파일을 종합적으로 분석한 결과는 다음과 같습니다: 1. **선언된 permissions과 실제 코드 일치 여부:** * `network: false`: 코드에서 외부 네트워크 통신을 시도하는 부분이 없습니다. 일치합니다. * `subprocess: false`: 코드에서 `subprocess` 모듈을 사용하거나 외부 명령을 실행하는 부분이 없습니다. 일치합니다. * `filesystem: false`: 코드의 `read_block` 함수는 `pathlib.Path.read_text()`를 사용하여 파일을 읽습니다. 이는 파일 시스템 접근에 해당합니다. 그러나 메타데이터의 `allowed-tools`에는 'Read'가 명시되어 있으며, `risk_tier: medium`의 `risk_rationale`에서도 '读写文件(파일 읽기/쓰기)'가 언급되어 있습니다. 이는 플랫폼이 'Read' 도구를 통해 통제된 파일 읽기 접근을 허용하며, `permissions.filesystem: false`는 임의의, 통제되지 않은 파일 시스템 접근을 금지하는 것으로 해석될 수 있습니다. 따라서, 이 부분은 잠재적 불일치로 볼 수 있으나, 플랫폼의 의도와 `allowed-tools`를 고려할 때 허용 가능한 범위 내로 판단합니다. 2. **악의적 목적의 코드 여부:** * 데이터 탈취, 시스템 파괴, 난독화 등의 악의적인 코드는 발견되지 않았습니다. `hashlib` 모듈은 코드에 명시적으로 사용되지 않았지만, `set` 연산 시 문자열 해싱이 내부적으로 사용될 수 있으며 이는 정상적인 동작입니다. 3. **선언되지 않은 외부 통신 여부:** * 코드에서 `requests`, `urllib` 등 네트워크 통신을 위한 모듈이나 함수 호출이 전혀 발견되지 않았습니다. 선언된 `network: false`와 일치합니다. 4. **사용자 데이터 무단 수집/전송 여부:** * 스킬은 입력된 텍스트(파일 또는 stdin)를 처리하여 토큰을 계산하고 중복을 감지하는 로직만 포함하며, 어떠한 사용자 데이터도 외부로 수집하거나 전송하지 않습니다. 5. **코드 품질 및 목적 일치 여부:** * 코드는 명확하고 간결하며, 표준 라이브러리만을 사용합니다. '컨텍스트 예산 계산기 및 감사 목록 생성기'라는 스킬의 목적에 충실하게 구현되어 있습니다. `requirements.python_packages: []`도 코드 내용과 일치합니다. **결론:** 스킬은 명시된 기능을 안전하게 수행하며, 악의적인 동작이나 선언되지 않은 위험한 행위는 발견되지 않았습니다. `permissions.filesystem: false`와 파일 읽기 기능 간의 불일치는 플랫폼의 'allowed-tools' 정책에 따라 통제된 접근으로 해석될 수 있으므로, 스킬은 승인될 수 있습니다.

Version History

Version USK v3 Vetting Status Packaged At Downloads Changelog
v1.0.0 ✓ approved 2026-10-17 ⬇ 0 1.0.0: initial upload (USK v3)

Reviews & Ratings

No reviews yet. Be the first to leave one!

✍️ Write a Review