Use when long-lived agents, project memories, system prompts, or playbooks are repeatedly summarized, rewritten, or optimized and risk losing domain detail, provenance, or execution learnings.
日本語の概要は準備中です。原文の説明を表示しています。
Use when designing or auditing an agentic AI system holistically. Activates the six-component harness framework (ℛ Reasoning, ℳ Memory, 𝒞 Context, 𝒮 Skills, 𝒪 Orchestration, 𝒢 Governance) from arXiv:2605.26112. Trigger phrases: "design an agent system", "why is my agent unreliable", "harness architecture", "system-level agent design", "beyond model scaling", "agentic infrastructure", "scale my agent system", "agent performance bottleneck".
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Attribution: Derived from arXiv:2605.26112v1 — From Model Scaling to System Scaling: Scaling the Harness in Agentic AI by Shangding Gu (UC Berkeley), May 2026. Reference implementation: CheetahClaws.
Agent performance emerges from the interaction among multiple components, not from model capability alone. This skill encodes the insight that investing only in stronger foundation models while neglecting the surrounding harness — memory, context assembly, skill routing, and governance — yields unreliable agents regardless of model strength.
Activate this skill when:
Agent harness performance is a function of six interacting components:
𝒫_H = Φ(ℛ, ℳ, 𝒞, 𝒮, 𝒪, 𝒢)
| Symbol | Component | Role |
|---|---|---|
| ℛ | Reasoning Substrate | The foundation model; improved via model scaling |
| ℳ | Memory Store | Persistent information with precision, durability, retrievability, verifiability |
| 𝒞 | Context Constructor | Input assembly: relevance, compactness, traceability, refresh policy |
| 𝒮 | Skill-Routing Layer | Tool & subagent dispatch: specificity, selectivity, composability, verifiability |
| 𝒪 | Orchestration Loop | Control flow coordination across all components |
| 𝒢 | Verification & Governance | Gates reasoning outputs and external actions |
Key insight: Scaling 𝒮 (skills) without scaling 𝒢 (governance) produces faster but less reliable progress. Each component must scale together.
The paper identifies three failure modes that survive model upgrades:
Three objections and their rebuttals:
Memory has four quality axes that must be actively maintained:
| Axis | Definition | Failure Mode |
|---|---|---|
| Precision | Accuracy within defined scope | Overgeneralized facts |
| Durability | Resistance to target drift | Silent rewrites |
| Retrievability | Cost-effective access | Important facts buried |
| Verifiability | Ability to validate against live environment | Stale-but-confident |
System move: Make trust a runtime decision, not a stored property. Retrieved content is a hypothesis until re-checked.
Retrieval ranking formula (CheetahClaws):
rank = relevance × (1 - staleness_penalty) × confidence_factor
Implementation pattern:
@dataclass
class MemoryEntry:
content: str
confidence: float # 0.0 – 1.0
last_verified: datetime # When was this last checked against live env?
valid_until: Optional[datetime] # None = no expiry
source: str # Provenance
def retrieve(query: str, entries: list[MemoryEntry]) -> list[MemoryEntry]:
now = datetime.utcnow()
ranked = []
for e in entries:
staleness = (now - e.last_verified).total_seconds() / 86400 # days
staleness_penalty = min(staleness / 30, 0.9) # cap at 90% penalty
score = semantic_similarity(query, e.content) \
* (1 - staleness_penalty) \
* e.confidence
ranked.append((score, e))
ranked.sort(reverse=True)
# Treat top results as hypotheses — re-verify before acting
return [e for _, e in ranked[:5]]
Context has four quality axes:
| Axis | Definition | Failure Mode |
|---|---|---|
| Relevance | Pertinence to current task | Noise displaces signal |
| Compactness | Minimal sufficient token set | Token waste, attention dilution |
| Traceability | Source provenance per token | No audit trail |
| Refresh Policy | Adaptation to environmental changes | Stale indices |
System move: Treat each turn's context as output of a selection policy, not a fixed buffer.
Context assembly policy:
def assemble_context(task: str, budget: int) -> Context:
# Layer 1: Persistent priors (loaded at session start)
persistent = load_persistent_priors() # e.g., CLAUDE.md equivalent
# Layer 2: Just-in-time retrieval (not static index)
jit_facts = retrieve_verified_memory(task)
# Layer 3: Live environment search (always fresh)
live_state = search_live_env(task) # glob/grep/tool calls
# Assemble with token budget enforcement
context = pack_by_relevance(
sources=[persistent, jit_facts, live_state],
budget=budget,
weight_fn=lambda x: semantic_score(task, x) * recency_weight(x)
)
return context # Every token has a source ID and timestamp
The "lost in the middle" problem: Attention degrades for content in the middle of the context window. Place most critical facts at the start or end.
Skill routing has four quality axes:
| Axis | Definition | Failure Mode |
|---|---|---|
| Specificity | Clear capability scope per skill | Ambiguous routing |
| Selectivity | Correct skill invocation | Wrong tool chosen |
| Composability | Sequential integration across skills | Broken pipelines |
| Verifiability | Explicit post-condition validation | Confident-but-unchecked |
System move: Couple learned routing policy with verification at every step.
Routing with post-condition verification:
async def route_and_verify(task: SubTask) -> Result:
# Estimate task type from available context
task_type = classify_task(task)
confidence = task_type.confidence
# Confidence-aware escalation
if confidence < 0.7:
skill = FALLBACK_SKILL # more capable / general
else:
skill = SKILL_REGISTRY[task_type.label]
result = await skill.execute(task)
# Post-condition check — mandatory, not optional
if not skill.verify_postcondition(task, result):
result = await VERIFICATION_AGENT.recheck(task, result)
return result
The orchestration loop coordinates all components. Governance gates:
Governance checklist before any external action:
□ Has the relevant memory been re-verified against live state?
□ Does the skill's post-condition check pass?
□ Is there an audit trace for this action?
□ Is rollback available if the action has side effects?
□ Is the permission scope appropriate (principle of least privilege)?
The paper compares three reference harnesses with similar frontier models but different harness designs:
| Harness | Memory | Context Governance | Distinctive Design |
|---|---|---|---|
| Claude Code | Persistent text + auto-extraction | User/project/session layers (CLAUDE.md + JIT tools) | Subagent specialization with per-agent context windows and permissions |
| OpenClaw | Conversation history + vector retrieval | User/channel/session | Multi-channel gateway (Discord, Slack, iMessage) |
| CheetahClaws | Structured entries with explicit confidence + recency fields | User/project/session | Transparency-first; confidence/recency as first-class queryable fields |
Key insight: Similar frontier models yield radically different agents based on harness design alone.
Three levers operating at different timescales:
| Lever | Timescale | Primary Role | Failure Mode |
|---|---|---|---|
| Prompt | Local/immediate | Specify goal, constraints, style | Brittle over long horizons; poor transfer |
| Skill | Task-level | Reusable procedure or workflow | Wrong routing; poor composition |
| Memory | Longitudinal | Preserve durable facts, experience | Drift, over-generalization, pollution |
Design all three levers together. Prompt tuning without memory governance leads to tasks succeeding in isolation but failing across sessions.
From Anthropic research cited in the paper:
Multi-agent failure modes to design against:
Example: Diagnosing a failing agent with the harness framework
Agent symptom: Confidently deletes files based on outdated assumptions.
Diagnosis checklist:
ℳ Memory: Was the file-existence assumption re-verified before action?
→ NO. Stale-but-confident failure.
𝒞 Context: Was the file listing freshly retrieved (JIT) or from a stale index?
→ STALE INDEX. Exposure-without-access failure.
𝒮 Skills: Did the delete skill have a post-condition check?
→ NO. Confident-but-unchecked failure.
𝒢 Governance: Was rollback available for the delete action?
→ NO.
Fix:
ℳ: Add staleness check — re-verify file existence via tool call before destructive action
𝒞: Replace static file index with JIT glob/ls tool call
𝒮: Add post-condition: verify file is gone after delete AND previous state was as expected
𝒢: Require user confirmation for irreversible actions OR implement soft-delete
Example: Harness design review checklist
## Harness Review: [System Name]
### ℳ Memory
- [ ] Confidence and recency tracked as first-class fields?
- [ ] Retrieval ranking penalizes staleness?
- [ ] Retrieved content treated as hypothesis until re-verified?
- [ ] Periodic re-verification against live environment?
### 𝒞 Context
- [ ] Context assembled by selection policy (not fixed buffer)?
- [ ] Persistent priors + JIT retrieval + live search (three layers)?
- [ ] Every token has source provenance?
- [ ] Token budget enforced with relevance ranking?
### 𝒮 Skill Routing
- [ ] Each skill has documented capability scope?
- [ ] Post-condition checks defined per skill?
- [ ] Confidence-aware escalation to more capable models?
- [ ] Composition verification between chained skills?
### 𝒢 Governance
- [ ] Audit trace for memory writes?
- [ ] Audit trace for routing decisions?
- [ ] Audit trace for tool permissions?
- [ ] Rollback available for side-effecting actions?
This skill provides the architectural foundation for:
Internal references:
External resources:
Created: 2026-05-26 Source Paper: arXiv:2605.26112v1 — Shangding Gu, UC Berkeley Version: 1.0.1
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when long-lived agents, project memories, system prompts, or playbooks are repeatedly summarized, rewritten, or optimized and risk losing domain detail, provenance, or execution learnings.
日本語の概要は準備中です。原文の説明を表示しています。
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.
日本語の概要は準備中です。原文の説明を表示しています。
Adds educational comments to a code file so it becomes a learning resource, asking for the file (with a list of close matches) if none is given. Use when preparing code for learners, onboarding, or teaching.
日本語の概要は準備中です。原文の説明を表示しています。
Write, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating or modifying scripts that manipulate documents, layers, paths, text frames, colors, symbols, artboards, or any Illustrator DOM objects. Covers the complete JavaScript object model, coordinate system, measurement units, export workflows, and scripting best practices.
日本語の概要は準備中です。原文の説明を表示しています。
Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-based access controls for agent tool usage - Adding semantic intent classification to detect dangerous prompts - Creating trust scoring systems for multi-agent workflows - Building audit trails for agent actions and decisions - Enforcing rate limits, content filters, or tool restrictions on agents - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)
日本語の概要は準備中です。原文の説明を表示しています。
Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks. Use this skill when: - Evaluating an agent system's security posture before production deployment - Running a compliance check against OWASP ASI 2026 standards - Mapping existing security controls to the 10 agentic risks - Generating a compliance report for security review or audit - Comparing agent framework security features against the standard - Any request like "is my agent OWASP compliant?", "check ASI compliance", or "agentic security audit"
日本語の概要は準備中です。原文の説明を表示しています。