원클릭으로
liu-2023-agentbench
Comprehensive benchmark suite for evaluating LLM agents across diverse interactive environments
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Comprehensive benchmark suite for evaluating LLM agents across diverse interactive environments
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Instruction manual for agents driving Port Daddy multi-agent coordination. Use when an agent will edit a repo, recover work, coordinate with other sessions, inspect FleetBar/Fleet Control Center truth, package skill/docs surfaces, or leave a durable handoff. NOT for generic coding that does not need Port Daddy state.
Contributor manual for agents working ON the Port Daddy codebase itself — the daemon, MCP server, FleetBar / Fleet Control Center, website, CLI surface, distribution mirrors, internal recovery ledger, and the named internal actors (Coxswain / Navigator / Cartographer / Lookout / Quartermaster + Shipwright). Use when editing the port-daddy repo. NOT for agents using Port Daddy on other projects (use port-daddy-agent-skill for that), and NOT distributed to public skill catalogs — this skill is private to the port-daddy repo.
Decide which single operator surface — Scout, FleetBar, or pd-console — owns each capability by its distance-from-work (intake/ambient/deep), and audit that placement for authority spread, unenforceable controls, evidence overflow into FleetBar, and hot/cool bus-subscription mismatches. Use when placing a new capability on one of Agent Harbor's three operator surfaces, reconciling a mockup that duplicates a capability across two surfaces, or auditing an existing operator-surface spec before implementation locks it in. NOT for choosing SDK/CLI/MCP/GUI surfaces for API-consuming developers (developer-surface-strategist), designing the concrete interaction flow within one already-assigned surface (agentic-coding-ux-designer), or the hot-bus/cool-bus transport mechanics themselves (swarm-invocation-designer).
Audit what PRs this session produced. Ask: "What work did I do this session that isn't in a PR yet, or isn't merged?" Forces the agent to account for all code changes before declaring done. Use at any point — especially at session end, after a manager wave, or when asked "what's left?"
After each execution wave completes, inspect the DAG's commitment landscape and premortem risk score. If any surviving nodes carry `commitment_level: TENTATIVE`, or if the premortem `recommendation` is `ACCEPT_WITH_MONITORING` or `ESCALATE_TO_HUMAN`, pause execution and run a structured parley: re-evaluate TENTATIVE nodes against the evidence produced by the just-completed wave, update risk severity where warranted, and either promote nodes to COMMITTED, demote them to EXPLORATORY, or prune them before launching the next wave. Parley is a scheduled operation triggered by wave completion — not an ad-hoc intervention — making wave boundaries the natural formation-break point where plans meet reality.
Build and extend pd-console — Port Daddy's GPU-native macOS operator console (GPUI 0.2.x, Zed's Rust UI). Covers the render-agnostic Block/Pane(Surface) contract, the two-thread reqwest↔smol refresh pipeline, Taffy flexbox layout, uniform_list virtual scroll, focus + keyboard nav, the OKLCH theme and ICS maritime flag badges, GPUI's missing text-input, and the real feature-gated cargo/CI gate. Use when adding panes, visual polish, or debugging GPUI rendering/layout/focus in core/pd-console. NOT for the TypeScript daemon, generic Rust toolchain/borrow-checker help (use rust-with-claude-code), or non-pd GPUI apps with a different theme/architecture.
| license | Apache-2.0 |
| name | liu-2023-agentbench |
| description | Comprehensive benchmark suite for evaluating LLM agents across diverse interactive environments |
| metadata | {"category":"Research & Academic","tags":["benchmarks","llm-agents","evaluation","agent-testing","capabilities"],"io-contract":{"kind":"deliverable","produces":[{"kind":"critique","description":"Diagnostic analysis of LLM agent failures across interactive environments, identifying failure modes (rubber stamp validation, planning amnesia, metacognitive blindness, code training rigidity, executive function collapse) with detection rules and root cause explanations","format":"markdown"},{"kind":"refactor-plan","description":"Structured remediation strategies for agent failures, including prompt engineering adjustments, validation layer additions, state tracking mechanisms, and model selection guidance based on task characteristics","format":"markdown"},{"kind":"design-doc","description":"Decision trees and heuristics for model selection (code-trained vs frontier models), environment-specific debugging strategies, and verbosity trade-offs for prompt engineering in multi-turn agent tasks","format":"markdown"}]}} |
| allowed-tools | Read,Write,Edit,Glob,Grep |
IF task requires procedural execution (web shopping, DB queries, API calls):
├─ IF <15 steps AND template-based outputs
│ └─ Use code-trained models (CodeLlama) - 3x better at format compliance
└─ IF >15 steps OR requires plan revision
└─ Use general models (GPT-4) - maintains coherence across turns
IF task requires strategic reasoning (games, puzzles, negotiations):
├─ IF model must generate novel hypotheses
│ └─ Avoid code-trained models - they over-optimize for deterministic paths
└─ IF model must revise plans based on feedback
└─ Use frontier models only - others lose state after round 5
IF failure budget <10%:
├─ Invalid format/action rate matters more than success rate
└─ API models (GPT-4: 6% invalid) vs Open source (13.6% invalid)
IF task involves >20 interaction rounds:
└─ Only GPT-4 tier maintains plan-state binding - others enter loops by round 10
IF agent produces malformed outputs despite clear instructions:
├─ Check Rouge-L similarity in last 3 outputs
│ ├─ High (>0.8): Loop detection failure → Add state tracking
│ └─ Low (<0.5): Executive function gap → Add format validation
IF agent violates environment rules (impossible actions):
├─ Count rule violations per environment type
│ ├─ Code environments: Missing API constraints → Add action space docs
│ ├─ Game environments: Invalid moves → Add rule reminders each turn
│ └─ Web environments: Element targeting → Add DOM structure context
IF agent exceeds task limits without completion:
├─ Analyze final 5 rounds for repetition patterns
│ ├─ Repeating same action: Add "what have I tried?" prompt
│ ├─ Repeating same reasoning: Add progress checkpoints
│ └─ Random actions: Escalate to human or abort task
IF environment has complex rule set (>10 constraints):
├─ High verbosity: Include full rules every turn
│ └─ Trade-off: Context bloat but lower invalid action rate
└─ Low verbosity: Rules in system message only
└─ Trade-off: Cleaner prompt but higher rule violation risk
IF task requires >10 sequential steps:
├─ Include explicit progress tracking: "Step X of Y completed"
└─ Add loop detection: "Have I done this exact action before?"
Detection Rule: If model produces structurally valid JSON but semantically invalid actions (e.g., {"action": "click", "element": "nonexistent_button"})
Symptoms:
Diagnosis: Dissociation between linguistic understanding and environmental grounding
Fix: Add action pre-validation layer that checks element existence before execution
Detection Rule: If model generates good initial plan but actions don't follow plan by round 5+ OR model repeats plan generation mid-task
Symptoms:
<thought> tags, contradictory actionsDiagnosis: Plan-state binding failure in working memory
Fix: Include plan summary in every prompt; add "current plan step" tracking
Detection Rule: If Rouge-L ≥0.8 in final 3 rounds AND task incomplete
Symptoms:
Diagnosis: No internal representation of "attempted strategies" or progress monitoring
Fix: External loop detection with mandatory strategy pivot after 3 identical rounds
Detection Rule: If code-trained model fails strategic tasks with success rate <50% of general model performance
Symptoms:
Diagnosis: Code training bias toward single optimal path
Fix: Use general models for strategic tasks; add explicit exploration prompts for code-trained models
Detection Rule: If model correctly explains requirements when asked but immediately violates them in output
Symptoms:
Diagnosis: Linguistic competence vs. procedural compliance dissociation
Fix: Constrained decoding, output validation layer, or format templates with variable substitution
Scenario: Agent must purchase specific laptop from e-commerce site. CodeLlama-34b vs GPT-4 comparison.
Turn 1-3: Both models navigate homepage correctly, use search function
Turn 4-6: Product comparison required
Turn 7-12: CodeLlama hits constraint (wrong specs)
Turn 13+: Task completion
Key Insight: Procedural task (web navigation) initially favors CodeLlama, but strategic pivot requirement (spec mismatch → search refinement) causes failure. The task grounding shifted from procedural to strategic mid-execution.
Scenario: Agent stuck in navigation loop on unfamiliar website
Detection Phase:
Round 15: {"action": "click", "element": "nav-menu"}
Round 16: {"action": "click", "element": "nav-menu"}
Round 17: {"action": "click", "element": "nav-menu"}
Rouge-L: 0.92 - LOOP DETECTED
Recovery Steps:
Key Insight: Loop detection must trigger strategy enumeration, not just "try harder." The fix is metacognitive scaffolding, not better reasoning.
diagrams/01_flowchart_agent_failure_diagnosis_&_reme.md — Mermaid flowchart mapping agent symptoms (malformed output, rule violations, repetition) to root causes and remediation strategies. Read when diagnosing why an agent failed and what to fix.
diagrams/02_quadrantChart_model_selection_matrix:_task_t.md — Quadrant chart positioning CodeLlama, Llama2, GPT-4 by task type (procedural vs strategic) and planning horizon. Read when choosing which model to deploy for a specific agent task.
diagrams/03_stateDiagram-v2_agent_state_machine:_planning-.md — State machine showing planning→action→validation→observation loop with failure points (format violations, invalid actions, loop detection). Read when understanding where agents get stuck in multi-turn interactions.
references/code-training-double-edged-sword.md — Explains CodeLlama's paradox: excels at web/database tasks (52% vs 5.6%) but fails at games/OS tasks (8.4% vs 21.3%). Read when deciding between code-trained and general models.
references/decomposition-principles-from-multi-environment-evaluation.md — Teaches how task decomposability depends on task structure (code/game/web), not just complexity. Read when breaking down a complex agent task into subtasks.
references/environment-grounding-types-and-skill-design.md — Defines three grounding types (Code, Game, Web) and shows performance varies by type independent of general intelligence. Read when designing agent systems for specific domain types.
references/failure-taxonomy-interactive-systems.md — Systematic categorization of agent failures (rubber stamp validation, planning amnesia, metacognitive blindness, code rigidity, executive collapse) with detection rules. Read when classifying an agent failure to identify root cause.
references/instruction-following-as-executive-function.md — Shows why GPT-4 fails to follow explicit format instructions despite high reasoning ability; frames instruction-following as executive function. Read when debugging format compliance issues in agent outputs.
references/task-limit-exceeded-and-loop-detection.md — Analyzes the dominant failure mode (24.9% API, 36.9% open-source): agents exhaust rounds via repetition. Includes detection signatures. Read when agent gets stuck in loops or exceeds interaction limits.
references/the-gap-between-planning-and-execution.md — Documents planning-execution disconnect: agents articulate correct plans but execute violating actions. Read when agent's reasoning contradicts its actions.
Do NOT use this skill for:
question-answering-strategies.md insteadcontent-generation-patterns.md insteadlogical-reasoning-frameworks.md insteadstreaming-response-handling.md insteadapi-integration-patterns.md insteadDelegate to other skills when:
domain-expertise-routing.mdbenchmark-design-principles.mdagent-orchestration-patterns.mdllm-system-monitoring.mdThis skill specifically handles: Multi-round interactive decision-making where environmental constraints, plan revision, and failure recovery are primary concerns.