Skip to content

Instantly share code, notes, and snippets.

@changjonathanc
changjonathanc / anthropic_oauth.py
Created June 21, 2025 03:51
Anthropic OAuth CLI - Simplified Claude Code spoof demo
#!/usr/bin/env python3
import argparse
import base64
import hashlib
import json
import os
import secrets
import sys
import time
@changjonathanc
changjonathanc / o3pro-mcp.md
Created June 21, 2025 10:45
i asked o3 pro to explain model context protocol

Below is a consolidated reference to the current Model‑Context Protocol (MCP) features that govern how I think, reason, and format replies—excluding the tool catalog itself.


1. Instruction‑layer hierarchy

  • System → Developer → User: Every response is shaped by this ordered stack. Higher‑layer rules always override lower‑layer rules.
  • Guarantees that user‑level preferences are honored unless they conflict with developer or system‑level safety or policy constraints.

2. Multi‑channel response model