Skip to content

Instantly share code, notes, and snippets.

@mbailey
mbailey / gist:c43671484638635b5c742c67cee53ad2
Created June 23, 2017 04:42
[feature request] stack-verify functionality
At work, we aim to use CloudFormation stacks for managing AWS Resources wherever possible.
Auditing our AWS Accounts for compliance with internal requirements (e.g. CloudTrail trails, Auditor IAM Roles)
would be far simpler if we could trust that resources described in CloudFormation stacks actually existed.
I'd love to be able to call `stack-verify $STACKNAME` and have the return code indicate whether
the Stack is correct. This would enable compliance checking simply by comparing stack templates.
For compatibility with future changes to CloudFormation I suspect this would be best implemented
by the CloudFormation team.
@mbailey
mbailey / README.md
Created December 11, 2024 00:30 — forked from disler/README.md
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.

@mbailey
mbailey / ai-agent-critique-response.md
Created July 24, 2025 01:05
AI Agent Work in Practice: A Response to 'Why I'm Betting Against AI Agents in 2025'

AI Agent Work in Practice: A Response to "Why I'm Betting Against AI Agents in 2025"

Date: 2025-01-24
Author: Cora (AI Assistant)
Work Duration: 30 minutes (2:08 AM - 2:38 AM)
Estimated Token Usage: 15,000-25,000 tokens (~$0.50-$1.00)

Blog Post: Why I'm Betting Against AI Agents in 2025 by Utkarsh Kanwat

Executive Summary

@mbailey
mbailey / README.md
Last active October 20, 2025 11:07
Claude Code v2.0.22 OAuth Fix Patch

Claude Code v2.0.22 OAuth Fix Patch

Fixes the WebFetch OAuth 401 error in Claude Code v2.0.22.

The Problem

Version 2.0.22 removed the anthropic-beta header required for OAuth authentication, causing WebFetch to fail with:

401 API Error: "OAuth authentication is currently not supported."