agentleFS
IgorGanapolskyIgorGanapolsky/ThumbGate/.agents/skills/aws-strands-harness-not-clone/SKILL.md

aws-strands-harness-not-clone

Skill29 starsChanged 7 months agoMITView on GitHub

AWS Strands Harness (The New Stack 2026-10 / Marc Brooker) is an agent runtime architecture, not a ThumbGate clone. Steal the three context-management defaults (output shunting <= 350 lines, 75% compaction threshold, in-loop recovery) and inject ThumbGate's PreToolUse diode. Never vendor Bedrock-only dependencies. Slash: /aws-strands-harness-not-clone.

Files
SKILL.md

AWS Strands Harness — FORMAT Steal, Not Clone

Goal

Provide fail-closed pre-action governance and token-shunted output bounds for agents running on AWS Strands Harness (@strands-agents/harness or strands-harness), capturing the 45% (and 77% Terminal-Bench 2.1) token savings while preventing destructive tool actions.

Constraints

NEVERALWAYS
Clone or install Bedrock-only proprietary packagesUse decoupled providers (Bedrock, Anthropic, OpenAI, Ollama)
Allow un-shunted raw tool returns (> 350 lines / 16KB)Truncate with evaluateOutputShunt offset markers
Drop durable prevention rules during context compactionPin ThumbGate rules across 75% compaction threshold
Crash the agent loop on context overflowRecover in-loop by pruning non-pinned conversational history
Execute mutating shell/file tools without governanceRun ThumbGate PreToolUse diode before dispatch
Claim 77% savings without citing Terminal-Bench 2.1Ground benchmarks in measured tool-output reduction

HARD fail closed. REFUSE un-gated autonomous execution.

Reference

  • The New Stack (2026-10): AWS open-sources an AI agent it says is 45% cheaper than Claude Code and Codex
  • scripts/strands-harness-doctor.js
  • adapters/strands/strands-middleware.js
  • adapters/strands/config.json
  • adapters/strands/STRANDS.md
  • docs/agents/aws-strands-harness.md

Usage

# Audit Strands Harness compliance
node scripts/strands-harness-doctor.js

# Machine-readable output
node scripts/strands-harness-doctor.js --json

# Architectural map
node scripts/strands-harness-doctor.js --map-only

# CI Gate check
node scripts/strands-harness-doctor.js --check

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.