Mark Pieszak@MarkPieszak5himagine having decades of engineering experience... and this is what it all comes to now41934913K
Mark Pieszak@MarkPieszakOct 4Running an agent unattended? Copy this setup from Anthropic's Agent SDK cookbook: 🔒 read-only tools (Read, Glob, Grep) 🚫 permission_mode="dontAsk" ⏱️ max_turns + max_budget_usd caps 📋 JSON-schema output a script can read Whole demo: about a dime 💸 claude-cookbooks/claude_agent_sdk/scheduled_repository_reviewer/scheduled_repository_reviewer.ipynb...From github.com229472
Mark Pieszak@MarkPieszakOct 4Since every Agents turn re-sends the whole conversation… A 40-turn task pays for turn “1” - forty times. ♻️ Great guide from @claudeai on cost-optimization fixes and in what order. TLDR: Caching and batching cost you no quality, do model swaps last. skills/skills/claude-api/shared/cost-optimization.md at main · anthropics/skillsFrom github.com2311664