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

@jasonwu513
@massimotodaro

Block or report affaan-m

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.

Creator of everything-claude-code — 51,000+ stars. The most popular Claude Code resource. ecc.tools

Creator of AgentShield — AI agent config scanner. Featured at Cerebral Valley x Anthropic.


Writing

Author of both Claude Code guides — 3M+ views combined.

The Shorthand Guide to Everything Claude Code The Longform Guide to Everything Claude Code
Shorthand Guide
7.4K ❤️ · 922 reposts · 2.7M views
Longform Guide
1.2K ❤️ · 157 reposts · 322K views

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 config scanner
focus security agent configs
agentshield stars agentshield forks
elizaOS / eliza
Core contributor · autonomous agent platform (TypeScript)
role core contributor
eliza stars eliza forks
0xPlaygrounds / rig
Contributor · modular LLM apps (Rust)
role contributor
rig stars rig forks
dprc-autotrader-v2
Autonomous trading agent in Rust
focus rust autonomous trading
dprc-autotrader-v2 stars dprc-autotrader-v2 forks
Sol-Onchain-Analyst
Solana data pipelines → trading alphas
focus solana alpha pipelines
Sol-Onchain-Analyst stars Sol-Onchain-Analyst forks
HyperMamba
Proprietary R&D · hypernetworks + meta-learning for trading
focus research meta-learning
HyperMamba stars HyperMamba forks
Behavioral_RL
RL with behavioral econ biases (CVaR / Prospect Theory)
focus rl behavioral econ
Behavioral_RL stars Behavioral_RL 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, Cowork, and beyond.

    JavaScript 56.4k 7k

  2. x-algorithm-score x-algorithm-score Public

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

    TypeScript 13 2

  3. 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 38 8

  4. Behavioral_RL Behavioral_RL Public

    Reinforcement Learning with human behavioral biases integration

    HTML 8 1

  5. anomalyco/opencode anomalyco/opencode Public

    The open source coding agent.

    TypeScript 114k 11.4k

  6. elizaOS/eliza elizaOS/eliza Public

    Autonomous agents for everyone

    TypeScript 17.7k 5.4k