Skip to content

DaxxSec/cognitropy-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cognitropy Lab Banner

Built With Domain Pool License

Workspaces Categories Streak Last Build Project Day

Project Statistics

Metric Value
Total Workspaces 22
Categories Covered 13
Build Streak 1 days
Project Day 28
Last Build 2026-04-22
Categories Automotive & Engine, Cyber & DFIR, Earth Sciences, Education & Training, Engineering & Technical, Environmental & Earth, Food & Agriculture, Hardware & Embedded, Medical & Health, Outdoor & Adventure, RF/SDR/Signals, Security & Intelligence, Space & Aviation

Every morning, a Claude agent wakes up and receives a fresh creative challenge — maybe limnology (freshwater lake science), maybe coopering (barrel-making), maybe Mars terrain analysis crossed with EVA procedure planning. Each day is a new domain to explore, a new puzzle to solve. The agent builds a full, professional-grade workspace for whatever the entropy engine surfaces, then pushes it here.

This repo is the result. It grows by one workspace daily, completely autonomously. No human in the loop. Just an AI, an entropy engine, and an ever-expanding collection of workspaces for domains you didn't know you needed.

Built by DaxxSec & Claude (Anthropic)


The Problem

AI has an entropy problem. Ask it to "pick something creative" a hundred times and you'll get the same handful of safe, predictable ideas. It's the creative equivalent of a random number generator with a bad seed — low entropy, repetitive output.

Cognitropy (cognition + entropy) is our answer.

A note on the terminology: Yes, we made up a word. Two, actually. Cognitropy = cognition + entropy — the injection of unpredictability into AI creative processes. Cognitropic = the adjective form, describing structures that direct that entropy toward cognition (following the Greek -tropos, "turning toward" — the same root behind phototropic and psychotropic). Is it a real academic term? No. Does it describe a real pattern that didn't have a name? We think so. A cognitropic hash structure is a specific thing: multiple salted cryptographic hashes of a shared seed, reduced via modulo into independent selection indices across distinct categorical pools. That's a mouthful, so we just say "cognitropic." You're welcome.


The Cognitropy Engine

How do you make an AI genuinely unpredictable without calling any external APIs? You hash the date.

The engine (cognitropy.py) takes today's date (e.g. 2026-03-27) and runs it through five separate SHA-256 hashes, each with a different salt. Each hash produces a massive 256-bit integer — essentially a huge, chaotic number derived from a simple date string. That number gets reduced via modulo (%) to an index into the relevant pool:

    ┌────────────────────────────────────────────────────────────────────┐
    │                       COGNITROPY ENGINE                           │
    │                                                                   │
    │   Step 1: Hash the date with different salts                      │
    │                                                                   │
    │     sha256("2026-03-27")              → huge int → % 363 domains  │
    │     sha256("2026-03-27" + "secondary")→ huge int → % 363 domains  │
    │     sha256("2026-03-27" + "technique")→ huge int → % 30 methods   │
    │     sha256("2026-03-27" + "spark")    → huge int → % 5 templates  │
    │     sha256("2026-03-27" + "crossover")→ huge int → % 10 → <3?    │
    │                                                                   │
    │   Step 2: Assemble the assignment                                 │
    │                                                                   │
    │     Primary Domain ──────── "limnology"                           │
    │     Technique Modifier ──── "with safety protocol enforcement"    │
    │     Crossover Check ─────── 7 (≥3, so no crossover today)         │
    │                                                                   │
    │   Step 3: Output                                                  │
    │                                                                   │
    │     "Build a workspace for LIMNOLOGY                              │
    │      with safety protocol enforcement"                            │
    │                                                                   │
    │   On a crossover day (hash % 10 < 3, ~30% chance):                │
    │     "Fuse LIMNOLOGY × CAVE DIVING using techniques                │
    │      from both domains"                                           │
    └────────────────────────────────────────────────────────────────────┘

Why this works: SHA-256 is a cryptographic hash — even a one-day difference in the input date produces a completely unrelated output number. The selections look random but are fully deterministic: run it twice on the same date, get the same result every time. No external APIs, no randomness source needed — just math.

The domain pool spans 363 wildly diverse fields across 22 categories — volcanology, watchmaking, competitive barbecue judging, Mars terrain analysis, coopering, and 358 more. Combined with 30 technique modifiers, 5 crossover spark templates, and the constraint that crossover domains must come from different categories, that's 18,863,790 unique possible outcomes. The creative constraint is the point. Each day brings an unexpected domain, and the agent rises to meet it.

Try it yourself:

python3 cognitropy.py              # Today's assignment
python3 cognitropy.py 2026-04-05   # Check any date

Sample schedule (seeded by date, every day is a surprise):

Date Domain Category Type
Mar 26 Theme Park Queue Optimization × Vertical Farming Unusual & Niche Crossover
Mar 27 EVA Procedure Planning Space & Aviation Standard
Mar 28 Permaculture Design Food & Agriculture Standard
Mar 29 Driveline Vibration Analysis Automotive & Engine Standard
Mar 30 Satellite Communication Protocols RF/SDR/Signals Standard
Mar 31 Hydraulic Engineering Fluid Dynamics Engineering & Technical Standard
Apr 05 Falconry Bird Training × Security Log Analysis Outdoor & Adventure Crossover
Apr 09 Film Restoration × Heraldry Arts & Creative Crossover
Apr 11 Brake System Failure Analysis × Dendrochronology Automotive & Engine Crossover

The diversity is the point. A workspace for mushroom foraging uses the same structured methodology as one for malware analysis — triage, evidence collection, documentation, reporting. The patterns transfer. The domains are just the fun part.


How the Daily Build Works

  ┌──────────┐   ┌──────────────┐   ┌──────────────┐   ┌──────────┐   ┌───────────┐
  │ COGNITROPY│──→│ CLAUDE AGENT │──→│ SECRETS SCAN │──→│ GIT PUSH │──→│ DASHBOARD │
  │  assigns  │   │   builds     │   │  validates   │   │  + stats │   │  + README  │
  │  domain   │   │  workspace   │   │  no leaks    │   │  update  │   │  refresh   │
  └──────────┘   └──────────────┘   └──────────────┘   └──────────┘   └───────────┘
       │                │                   │                 │               │
  5 salted hashes  CLAUDE.md          grep for keys     README.md      Static HTML
  of today's date  /commands/         .pem, .env, .key  badges +       regenerated
  → domain+method  /workflows/        API tokens        stats table    from engine
  → crossover?     /resources/        passwords         git push       + GitHub API
  ~9:00 AM   Scheduled Claude agent wakes up
     ↓       Clones this repo
     ↓       Runs cognitropy.py → gets today's assignment
     ↓       Checks existing workspaces to avoid duplicates
     ↓       Builds the full workspace (CLAUDE.md, commands, workflows, resources...)
     ↓       Scans for secrets leakage
     ↓       Updates README index, badges, and stats table
     ↓       Commits and pushes
     ↓       Regenerates local dashboard HTML with fresh data
     ↓       Cleans up local files
  Done.      One new workspace in the repo. Every day.

What's a "Workspace"?

Think of it as a ready-to-go AI assistant kit for a specific job. Each workspace is a folder you can point Claude Code (or any compatible AI CLI) at, and it instantly becomes an expert in that domain. It knows what questions to ask, what workflows to follow, and what commands are available.

Every workspace includes agent instructions, slash commands you can run (like /triage or /analyze), reference materials, prompt templates, and structured workflows. Clone one, run /onboard, and you're working.

They all follow the Agent Workspace Model by Daniel Rosehill.

workspace-name/
├── CLAUDE.md                      # Agent brain — role, commands (lightweight)
├── README.md                      # Human docs — what, why, how
├── context/
│   ├── project.md                 # Your project (populated by /onboard)
│   ├── role.md                    # Your role and expertise level
│   ├── constraints.md             # Boundaries and preferences
│   └── for-agent/
│       ├── environment.md         # Tools, OS, setup details
│       └── workflows.md           # Deep domain workflows (200+ lines)
├── .claude/commands/
│   ├── onboard.md                 # REQUIRED — workspace initialization
│   └── [domain-specific].md       # 4-8 slash commands per workspace
├── prompts/                       # 3+ reusable prompt templates
├── resources/                     # Reference materials, checklists
├── work-log/                      # Session history and findings
├── outputs/                       # Generated reports and exports
└── planning/                      # Active goals and investigation plans

Quickstart

# Clone the lab
git clone https://github.com/DaxxSec/cognitropy-lab.git
cd cognitropy-lab

# Pick a workspace — any workspace
cd firmware-re-workspace   # or phishing-kit-analyzer, ecu-tune-engine-build, etc.

# Launch Claude Code and onboard
claude
/onboard

# Start working — use slash commands, ask questions, let the agent guide you
/triage
/analyze

Each workspace is self-contained. The agent uses the repo as its memory — no cloud dependencies, no accounts to create, no API keys needed.


Workspace Index

Cybersecurity & DFIR

Workspace Description
Firmware RE Workspace Firmware reverse engineering assistant — extract, disassemble, analyze, and document embedded firmware images to uncover architecture, attack surface, vulnerabilities, and hardcoded secrets.
Phishing Kit Analyzer Phishing kit analysis specialist — dissect, reverse-engineer, and extract intelligence from phishing kits deployed on compromised infrastructure.
Supply Chain Security Audit Software supply chain security auditor using a triage methodology adapted from palliative care symptom management — dependency inventory, SBOM generation (CycloneDX/SPDX), vendor risk assessment, CI/CD pipeline integrity checks, and prioritized remediation with "comfort measures" for quick wins. Crossover: Cyber & DFIR × Medical & Health.

Automotive & Engine Tuning

Workspace Description
ECU Tune & Engine Build Performance tuning and engine build assistant — ECU calibration, datalog analysis, engine modification planning, and build documentation.

Development & Debugging

Workspace Description
Expo Debugger Senior React Native / Expo debugging specialist — systematic triage, diagnosis, and fix for Expo-managed apps with Railway backends.

Environmental Science & Field Safety

Workspace Description
Limnology Safety Monitor Freshwater field science with integrated safety protocol enforcement — site risk assessment, sampling campaign design, water quality analysis, HAB response, ice safety, incident reporting, and compliance auditing for lake and river fieldwork.

Wilderness & Ecology

Workspace Description
Wildland Invasive Scout Bushcraft intelligence meets invasive species management — systematic field surveys, anomaly detection scoring, species ID with the 4-Feature Rule, foraging safety cross-checks, and citizen science reporting. For guides, foragers, land stewards, and anyone who wants to understand what they're walking through.

Food Production & Aquaculture

Workspace Description
Aquaponics Anomaly Monitor Closed-loop aquaponics system monitoring with automated anomaly detection — three-tier alert engine (threshold, rate-of-change, compound events), biofilter health assessment, water chemistry analysis, and root cause diagnosis for fish/plant systems. Catch the pH crash before it becomes a fish kill.
Aquaponics ICS/OT Security Cybersecurity for smart agriculture control systems — OT asset inventory (Purdue Model), STRIDE + ATT&CK for ICS threat modeling, network segmentation audit, firmware CVE correlation, ICS incident response with biological safety checkpoints, and hardening checklists for PLCs, Raspberry Pi controllers, MQTT brokers, and SCADA. The fish can die from a Modbus write as easily as a pH spike.

RF / SDR / Signals

Workspace Description
Satellite Comms Protocol Sim Satellite communication protocol simulation and scenario testing — AX.25/CCSDS/DVB-S2 frame decoding, end-to-end link budget analysis, Doppler pass simulation, protocol test vector generation, telemetry parsing, and security vulnerability auditing for cubesat, amateur satellite, and SDR enthusiasts. Works from RTL-SDR captures up to full CCSDS spacecraft commanding chains.

Automotive Sensing & SDR

Workspace Description
Wireless TPMS Analyzer Tire Pressure Monitoring System signal analysis — TPMS packet decoding, sensor ID tracking, RF capture workflows, and vehicle-specific protocol documentation using RTL-SDR and HackRF.
Wireless Protocol RE Wireless protocol reverse engineering agent — systematic capture, decode, and reverse-engineer unknown or proprietary wireless protocols using SDR hardware with resource optimization algorithms for efficient spectrum analysis, signal priority queuing, and parallel decode pipelines.

Engineering & Technical

Workspace Description
Hydraulic Engineering Fluid Dynamics Hydraulic systems engineering assistant — fluid dynamics calculations, pipe network design, pump selection, system troubleshooting, and compliance documentation for civil and mechanical hydraulic projects.
Railway Signaling Systems Railway signaling engineering apprenticeship workspace — track circuits, interlocking logic, ETCS/ERTMS, axle counters, ATP/TPWS, SIL requirements, and historical incident analysis. Five-level apprenticeship progression tracking from Foundation trainee to Expert/CEng. For signal technicians, apprentices, and engineers across the full IRSE competency ladder.
Dam Safety Inspection Dam safety inspection and anomaly detection specialist — piezometer/inclinometer/seepage data analysis, automated anomaly detection using statistical methods, FEMA/FERC/USACE regulatory compliance, failure mode screening, Emergency Action Plan review, and condition assessment reporting for embankment, concrete, and arch dams.

Medical & Health

Workspace Description
Emergency Triage Protocols Emergency medical triage specialist — START/JumpSTART triage algorithms, mass casualty incident management, patient assessment workflows, resource allocation, and after-action reporting for first responders and emergency planners.
Palliative Care Symptom Checklists Palliative / hospice symptom-assessment assistant — administers validated instruments (ESAS-r, IPOS, PAINAD, Abbey, RASS, CAM, PPS, FICA), computes composites with published scoring rules, trends across encounters, and drafts SBAR / progress / family-meeting notes. Decision-support only: never prescribes, diagnoses, or enters anything into the EHR unsigned. PHI-aware: session-scoped placeholders, no identifiers on disk.

Education & Training

Workspace Description
Curriculum Design Peer Review Instructional design and curriculum peer review specialist — backward design unit planning, Bloom's Taxonomy objective writing, structured peer review workflows, standards alignment mapping, and rubric generation for educators at all levels.

Finance & Economics

Workspace Description
Forensic Accounting & Fraud Detection Financial fraud investigation specialist — Benford's Law analysis, Beneish M-Score earnings manipulation screening, AP/GL transaction anomaly detection, entity structure mapping, and investigation workpaper generation following ACFE standards. For auditors, investigators, and DFIR practitioners expanding into financial crime.

Security & Intelligence

Workspace Description
Security Clearance Vetting & Predictive Reinvestigation Personnel security reasoning aid that applies predictive-maintenance scheduling to clearance holder oversight — SEAD 4 13-guideline adjudication, continuous vetting alert triage, condition-based reinvestigation planning, and risk-weighted caseload prioritization. For background investigators, adjudicators, FSOs, and insider-threat analysts moving from calendar-based PR to Trusted Workforce 2.0 / CV.

Outdoor & Adventure

Workspace Description
Avalanche Forecasting & Slope Analysis Snow-science forecasting co-pilot for ski patrols, avalanche centers, and DOT highway programs — daily hazard bulletin drafting, stability test interpretation (ECT/PST/CT), persistent weak layer tracking, and a predictive-maintenance cadence for instruments, mitigation assets, and bulletin language discipline. Built on the standardized 9-type avalanche problem framework used by CAIC/AAC/Avalanche Canada.

Physical Sciences

Workspace Description
Optics System Design & FMEA Optical system design co-pilot with integrated Failure Mode and Effects Analysis — paraxial + real-ray layout, RPN-scored design FMEA, Monte Carlo tolerancing, stray-light audits, thermal/vibration review, and IEC 60825 laser-safety classification. For optical engineers, imaging-system builders, and physicists who want FMEA in the loop from day one, not bolted on at CDR.

Engine Stats

Metric Value
Cognitropy Domain Pool 363
Domain Categories 22
Technique Modifiers 30
Crossover Sparks 5
Crossover Probability ~30%
Total Unique Outcomes 18,863,790

The math: Standard days = 363 domains × 30 techniques = 10,890 combos. Crossover days = 125,686 cross-category domain pairs × 30 techniques × 5 sparks = 18,852,900 combos. Total: 18,863,790 unique possible assignments. At one workspace per day, that's 51,646 years before a repeat is even possible — and even then, the agent would build it differently. (Cross-category pairs = 363² − Σd² = 131,769 − 6,083 = 125,686 — because the engine enforces that crossover domains come from different categories.)


Run Your Own Lab

The cognitropy engine is generic. Fork the repo, swap in your own domain pool, point your own scheduled agent at it.

# Fork this repo, then edit the domain pool
vim cognitropy.py   # Replace DOMAINS list with your own interests

# Check what your custom pool generates
python3 cognitropy.py 2026-04-01
python3 cognitropy.py 2026-04-02
python3 cognitropy.py 2026-04-03

# Set up a scheduled Claude agent to build workspaces daily
# (see the Agent Workspace Model for structure conventions)

The workspace model works for literally anything. The domains are just the fun part.


About

The Cognitropy Lab is built by DaxxSec & Claude (Anthropic).

Inspired by Daniel Rosehill's Claude Code Projects Index and the Agent Workspace Model.

The daily build pipeline: Cognitropy assigns a domain → Claude agent builds the workspace → secrets scan → README stats update → push to GitHub → dashboard regeneration → local cleanup. Fully autonomous, every morning.

The term "cognitropic" and the underlying hash-based selection pattern were coined here. If you use it elsewhere, we'd love to hear about it.

About

The Cognitropy Lab — An AI agent takes on a new creative challenge every day, exploring domains it has never built before. Watch the collection grow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages