Skip to content

About

AI-powered study system using Claude Code subagents for communications engineering exam preparation. Derives formulas, solves problems, and tracks progress.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

327 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Communications Learning System - Subagent-First Architecture

Intelligent study system for Communications Systems exam preparation (UTN) Uses Claude Code subagents for derivations, problem-solving, progress tracking, and visualization

πŸš€ Quick Start

# 1. Clone the repository
git clone [your-repo] communications-learning-system
cd communications-learning-system

# 2. Install minimal dependencies
pip install -r requirements.txt

# 3. Open in Claude Code
claude-code

# 4. Start studying!
# Just ask Claude:
#   "Can you derive Shannon-Hartley theorem?"
#   "Can you solve this noise problem?"
#   "Check my progress"

πŸ“š What Is This?

An AI-powered learning system using Claude Code subagents to help you:

  • πŸŽ“ Derive formulas from first principles (any level: basic to rigorous)
  • βœ… Solve problems step-by-step with validation
  • πŸ“Š Track progress with data-driven recommendations
  • πŸ—ΊοΈ Visualize concepts with interactive mind maps
  • 🎯 Prepare for exams with focused study plans
  • 🀝 Collaborate via Git-based state management

πŸ€– The Subagents

Subagent Color Purpose Model
πŸŽ“ formula-deriver 🟣 Purple Adaptive formula derivations (all levels) Opus
βœ… exercise-solver 🟒 Green Solve exam-style problems Opus
πŸ“Š progress-analyzer 🟑 Amber Progress tracking & recommendations Sonnet
🎯 study-session-manager 🟠 Orange Session coordination Sonnet
πŸ“š anki-explainer πŸ”΅ Blue Detailed explanations for flashcards Sonnet
πŸ—ΊοΈ mindmap-generator πŸ”΅ Cyan Visual mind maps for concept organization Sonnet

Key Feature: Subagents adapt automatically - no need to choose complexity level!

πŸ’» How To Use

In Claude Code (Primary Interface)

Simply ask Claude naturally:

"Can you derive Friis cascade formula?"
β†’ Invokes formula-deriver subagent
β†’ Saves to outputs/derivations/

"Can you solve this noise problem?"
β†’ Invokes exercise-solver subagent
β†’ Saves to outputs/solutions/

"Check my progress"
β†’ Invokes progress-analyzer subagent
β†’ Generates progress report

"Can you explain my Anki flashcards on FM modulation?"
β†’ Invokes anki-explainer subagent
β†’ Generates detailed explanations

"Can you create a mind map of Unit 7 concepts?"
β†’ Invokes mindmap-generator subagent
β†’ Saves to outputs/mindmaps/

Slash Commands (Alternative)

/derive Shannon-Hartley theorem
/solve docs/ejercicio_ruido.txt
/progress
/start-session rodrigo
/end-session

Python CLI (Session Management)

# Start study session
python main.py start-session --user rodrigo

# Check progress
python main.py progress

# End session
python main.py end-session --summary "Studied Unit 7"

# Git workflow
git add .
git commit -m "Session: Derived Friis formula"
git push

πŸ—‚οΈ Project Structure

communications-learning-system/
β”œβ”€β”€ .claude/
β”‚   β”œβ”€β”€ agents/              # Subagent definitions (6 files)
β”‚   β”œβ”€β”€ commands/            # Slash commands
β”‚   └── SUBAGENT_REFERENCE.md  # Color scheme guide
β”œβ”€β”€ agents/
β”‚   └── coordinator.py       # State management (Python)
β”œβ”€β”€ state/                   # Git-tracked state ⭐
β”‚   β”œβ”€β”€ learning_state.json  # Global progress
β”‚   └── session_history.jsonl
β”œβ”€β”€ outputs/
β”‚   β”œβ”€β”€ derivations/         # Formula derivations
β”‚   β”œβ”€β”€ solutions/           # Problem solutions
β”‚   └── mindmaps/            # Visual concept maps
β”œβ”€β”€ sessions/                # Session logs ⭐
β”‚   └── YYYY-MM/
β”œβ”€β”€ .doc/claude/             # Subagent working files
β”‚   β”œβ”€β”€ tasks/
β”‚   └── reports/
β”œβ”€β”€ main.py                  # CLI for session management
β”œβ”€β”€ requirements.txt         # Minimal dependencies
β”œβ”€β”€ SYSTEM_ARCHITECTURE.md   # ⭐ Architecture details
└── README.md                # This file

πŸ’‘ Key Features

βœ… Subagent-First Architecture

  • All AI work done by specialized subagents
  • Automatic complexity adaptation
  • No decision-making friction
  • File-based output for persistence

βœ… Git-Based Collaboration

  • State lives in files, not conversation history
  • Multiple users can collaborate
  • Sessions are logged and shareable
  • Full version control

βœ… Token Efficiency

  • Subagents save work to files
  • 80-90% fewer tokens than conversation-based
  • Context persists across sessions
  • Enables long-term projects

βœ… Adaptive Rigor

  • Formula-deriver adjusts to topic complexity
  • Session context influences approach
  • Exam focus vs research depth
  • Extra clarity when struggling

πŸ“– Documentation

  • SYSTEM_ARCHITECTURE.md - Complete architecture (read this!)
  • .claude/SUBAGENT_REFERENCE.md - Subagent color scheme and usage
  • state/learning_state_schema.json - State structure definition

🎯 Typical Workflow

1. Start Session

python main.py start-session --user rodrigo

2. Study in Claude Code

You: "Let's study Unit 7: Noise. Can you derive the Friis formula?"

Claude: I'll use the formula-deriver subagent...
[Creates outputs/derivations/friis_cascade_20251116.md]

You: "Now solve this noise problem"

Claude: I'll use the exercise-solver subagent...
[Creates outputs/solutions/noise_problem_20251116.md]

3. Check Progress

python main.py progress
# or in Claude Code:
/progress

4. End Session & Save

python main.py end-session --summary "Completed Unit 7"
git add .
git commit -m "Session: Friis formula + noise problems"
git push

πŸ”§ Setup

Prerequisites

  • Python 3.8+
  • Git
  • Claude Code CLI

Installation

# Install dependencies (minimal!)
pip install -r requirements.txt

# Verify setup
python main.py info

# Initialize state (if needed)
python main.py start-session --user your-name
python main.py end-session

That's it! The subagents work through Claude Code automatically.

πŸ“Š Course Coverage

10 Units / 87 Concepts:

  1. IntroducciΓ³n
  2. AnΓ‘lisis de SeΓ±ales (Fourier, Parseval)
  3. ModulaciΓ³n Lineal (AM, DSB, SSB, VSB)
  4. ModulaciΓ³n Exponencial (FM, PM, Carson's Rule)
  5. ModulaciΓ³n de Pulsos (Sampling, PCM)
  6. ModulaciΓ³n Digital (QAM, PSK, FSK)
  7. Ruido (Noise Figure, Friis, SNR)
  8. IntercomparaciΓ³n de Sistemas
  9. TeorΓ­a de la InformaciΓ³n (Shannon-Hartley, Entropy)
  10. Temas Avanzados (OFDM, Spread Spectrum)

🎨 Subagent Colors

When you see colored indicators in outputs:

  • πŸŽ“ 🟣 Purple = Formula derivation
  • βœ… 🟒 Green = Problem solved
  • πŸ“Š 🟑 Amber = Progress data
  • 🎯 🟠 Orange = Session info
  • πŸ“š πŸ”΅ Blue = Flashcard explanation
  • πŸ—ΊοΈ πŸ”΅ Cyan = Mind map visualization

See .claude/SUBAGENT_REFERENCE.md for complete color guide.

🀝 Collaboration

Multiple users can work on the same repo:

# User A
python main.py start-session --user alice
# ... studies ...
python main.py end-session
git commit -m "Alice: Derived Parseval theorem"
git push

# User B
git pull
python main.py start-session --user bob
# ... continues from Alice's work ...
python main.py end-session
git commit -m "Bob: Solved practice problems"
git push

State in learning_state.json is shared automatically!

πŸ“ˆ Progress Tracking

The system tracks:

  • Concepts mastered (87 total)
  • Problems solved (150 target)
  • Study hours and velocity
  • Weak areas needing attention
  • Days remaining to exam

Check anytime with /progress or python main.py progress

πŸ†˜ Troubleshooting

"Subagent not found":

  • Check .claude/agents/ directory exists
  • Verify subagent files are present

"State file error":

  • Run python main.py start-session --user test to initialize
  • Check state/learning_state.json exists

"Command not working":

  • Use commands in Claude Code (recommended)
  • Or use Python CLI: python main.py <command>

πŸŽ“ Example Session

$ python main.py start-session --user rodrigo

βœ“ Session started for: rodrigo
πŸ“Š Current Status:
  - Overall progress: 8%
  - Active unit: Unit 7 (Noise)
  - Days to exam: 29

πŸ’‘ Recommendations:
  1. Complete Unit 7 (Noise Temperature, SNR)
  2. Start Unit 9 (Shannon-Hartley - critical!)
  3. Daily problem practice (3-5 problems)

[In Claude Code]
You: "Derive Friis cascade formula"
β†’ Creates outputs/derivations/friis_cascade_20251116.md

You: "Solve this noise problem: ..."
β†’ Creates outputs/solutions/noise_problem_20251116.md

$ python main.py end-session --summary "Friis + noise practice"
βœ“ Session ended
πŸ“ Session log: sessions/2025-11/2025-11-16_rodrigo_session.md

πŸš€ What's Different About This System?

Traditional approach: Ask Claude questions, get answers in chat

This system:

  1. βœ… Subagents create complete files you can review anytime
  2. βœ… State persists in Git for collaboration
  3. βœ… Progress is tracked automatically
  4. βœ… Work is organized and searchable
  5. βœ… 80-90% more token-efficient

πŸ“š Learning Philosophy

The system emphasizes:

  • First principles: Derive everything from fundamentals
  • Validation: Dimensional analysis, limiting cases
  • Physical intuition: Understand WHY, not just WHAT
  • Exam preparation: Focus on high-value topics
  • Consistent practice: Track velocity and gaps

🎯 Exam Preparation Mode

When exam date approaches, the system:

  • Prioritizes weak concepts
  • Increases problem-solving focus
  • Generates mock exams
  • Provides realistic readiness assessment

Current exam date: 2025-12-15

πŸ“ License & Attribution

This system uses Claude Code's subagent architecture for educational purposes.


Version: 2.1.0 Architecture: Subagent-First with File-Based State Last Updated: 2025-11-16

For detailed architecture information, see SYSTEM_ARCHITECTURE.md. For subagent color scheme, see .claude/SUBAGENT_REFERENCE.md.

πŸŽ“ Happy studying! Good luck with your exam!

About

AI-powered study system using Claude Code subagents for communications engineering exam preparation. Derives formulas, solves problems, and tracks progress.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages