Skip to content
View affaan-m's full-sized avatar
💫
institutionalizing gambling = (Ω, 𝓕, ℙ_α); p = ℙ_α(e=1); y ∈ {0,1}; ∂p/∂α > 0
💫
institutionalizing gambling = (Ω, 𝓕, ℙ_α); p = ℙ_α(e=1); y ∈ {0,1}; ∂p/∂α > 0

Sponsors

@shtefcs
@jasonwu513
@massimotodaro
@coderabbitai
Private Sponsor
@divyabairavarasu
@maximaleks

Organizations

@ECC-Tools @Ito-Markets

Block or report affaan-m

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
affaan-m/README.md

Affaan Mustafa

Affaan Mustafa

I turned side questing into a modern prestige profession.
All it took was being cynical about everything except myself, then post-training my own policy to maximize expected return (serendipitous events (luck surface area)) by improving it until probability mass collapsed onto high-value action sequences, with mixed rollouts reserved for exploration.
That led me to attempt zero-employee companies as a way to build my way out of the permanent underclass, one day at a time.
If I had to give one piece of advice on carving your own path, and I mean truly your own, it’s this: protect your cogsec. The pendulum swings. The mind decays. They will tug at it, prompt-inject the latest psyop, and try to steer your internal model for you. Don’t let them.
Hold the line long enough and you win.

affaanmustafa.com →


Now

Co-founder @ Itô — Structured prediction market baskets. Co-founded with Alejandro.

Creator of everything-claude-code — 97K+ stars. The most popular Claude Code resource. ecc.tools

Creator of AgentShield — AI agent config scanner. 1,609 tests, v1.4.0. Featured at Cerebral Valley x Anthropic.


Writing

Author of the Claude Code guides and the agentic security guide — 3M+ views combined.

The Shorthand Guide to Everything Claude Code The Longform Guide to Everything Claude Code The Shorthand Guide to Everything Agentic Security
Shorthand Guide
7.4K ❤️ · 922 reposts · 2.7M views
Longform Guide
1.2K ❤️ · 157 reposts · 322K views
Security Guide
Agentic security from first principles

Open Source

everything-claude-code
The Claude Code resource · ecc.tools
focus agents skills mcps
everything-claude-code stars everything-claude-code forks
agentshield
AI agent security scanner · GitHub Marketplace
focus security agent configs
agentshield stars agentshield forks
JARVIS
Real-time OSINT via autonomous web scraping + Meta Ray-Ban glasses
focus osint agentic scraping
JARVIS stars JARVIS forks
claude-swarm
Multi-agent orchestration for Claude Code · standalone tool
focus multi-agent orchestration
claude-swarm stars claude-swarm forks
stoictradingAI
First autonomous trading agent on Solana · 70k peak live viewers
focus autonomous trading solana
stoictradingAI stars stoictradingAI forks
HyperMamba
Hypernetworks + meta-learning for trading · SSRN paper
focus research meta-learning
HyperMamba stars HyperMamba forks
Research / code: research, econ-research-wi24, econ-research-ss24, quranic-arabic-recognition-dl, supply-chain-ml-optimization, market-manipulation-microcap-crypto
Papers / mentions: HyperMamba SSRN paper, ResearchGate

Highlights

Highlight Detail
Ex-PMX Founding Engineer Built pmx.trade to $250k+ MRR and 6-figure MAU
Open-Source Distribution Built everything-claude-code (ecc.tools) and contributed to elizaOS/eliza + 0xPlaygrounds/rig
Autonomous Trading Systems Built various agentic yield + trading platforms (@stoictradingai on X / repo / AYO-era) with $40M+ combined peak FDV; 70k peak live viewers building in public
Anthropic Hackathon Winner Zenith Chat — 1st / 100+ people, $15k credits
Research / Academia 3-degree path across UCSD (graduated with 2 B.S. before I was 20 + UW (dropped out) (B.S. Math-CS, B.S. Business Economics (M.S. into P.h.D track (dropped out) - Applied/Computational Math ): UCSD Econ Research Lab, UW AMATH, UCSD URC mention
Research Output HyperMamba (SSRN), microcap sentiment/manipulation work (ResearchGate), and code in research / HyperMamba / Behavioral_RL / econ-research-wi24 / econ-research-ss24 / quranic-arabic-recognition-dl / supply-chain-ml-optimization / market-manipulation-microcap-crypto
$150k+ Bootstrapped Founded DCUBE at 18 (UCSD Basement portfolio), self-funded tuition

GitHub streak stats for affaan-m


X · LinkedIn · YouTube · SSRN · Substack


Pinned Loading

  1. everything-claude-code everything-claude-code Public

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    JavaScript 115k 15k

  2. agentshield agentshield Public

    AI agent security scanner. Detect vulnerabilities in agent configurations, MCP servers, and tool permissions. Available as CLI, GitHub Action, ECC plugin, and GitHub App integration. 🛡️

    TypeScript 245 49

  3. JARVIS JARVIS Public

    JARVIS: a real-time agentic intelligence-gathering platform powered by autonomous web scraping & OSINT, streamed via Meta Ray-Ban smart glasses

    Python 36 9

  4. claude-swarm claude-swarm Public archive

    Multi-agent orchestration for Claude Code — decompose tasks, coordinate agents, visualize everything in a rich terminal UI

    Python 79 15

  5. x-algorithm-score x-algorithm-score Public

    Chrome extension that scores tweets based on X's recommendation algorithm

    TypeScript 16 2

  6. Behavioral_RL Behavioral_RL Public

    Reinforcement Learning with human behavioral biases integration

    HTML 19 6