brainstorming
Structured design dialogue that validates ideas before implementation begins.
earnings-prediction
Predicts stock direction/magnitude at T=0 (report release). Uses PIT data only. Run before earnings-attribution.
Full skill instructions
Goal: Predict stock direction and magnitude before market reacts, using point-in-time data only.
Thinking: ALWAYS use ultrathink for maximum reasoning depth.
Input: Accession number of 8-K earnings filing
| Field | Values |
|---|---|
| Direction | up / down |
| Magnitude | small (0-2%) / medium (2-5%) / large (5%+) |
| Confidence | high / medium / low |
Tiny surprises (<1%): Predict small_up or small_down based on sign, use low confidence.
All sub-agent queries MUST use PIT filtering: [PIT: {filing_datetime}]
Allowed:
NOT Allowed:
ALL data queries go through the filter agent. This includes Neo4j AND Perplexity.
YOU (earnings-prediction)
│
│ /filtered-data --agent {source} --query "[PIT: X] ..."
▼
┌─────────────────────────────────────┐
│ FILTER AGENT │
│ │
│ Sources: neo4j-*, perplexity-search│
│ │
│ Validates: │
│ 1. Forbidden patterns │
│ 2. PIT compliance (dates <= PIT) │
│ │
│ You NEVER see contaminated data │
└─────────────────────────────────────┘
│
│ Clean data only
▼
YOU (continue with clean data)
Return data (daily_stock, hourly_stock, etc.) is what we're trying to predict. Post-filing articles mention stock reactions. If either enters your context, the prediction is contaminated. The filter agent ensures you never see it.
Use TodoWrite to track progress. Mark each step in_progress before starting, completed immediately after.
IMPORTANT: Read ./QUERIES.md and execute the exact commands shown there. Do not modify them.
Execute the metadata query from QUERIES.md.
Extract: ticker, filing_datetime (this becomes your PIT).
Execute the exhibit query from QUERIES.md.
Extract: Actual EPS, actual revenue, any guidance.
Execute these queries from QUERIES.md: xbrl, transcript, news, entity
Execute the consensus query from QUERIES.md.
Calculate surprise:
Surprise % = ((Actual - Consensus) / |Consensus|) × 100
Reason from the data. Consider: surprise magnitude, guidance direction, historical patterns, sector context. Output prediction with reasoning.
File: earnings-analysis/predictions.csv
Columns:
accession_no,ticker,filing_datetime,prediction_datetime,predicted_direction,predicted_magnitude,confidence,primary_reason,actual_direction,actual_magnitude,actual_return,correct
Append each prediction as a new row. Leave actual_* columns empty (filled by attribution later).
"reason with, comma"First run: If CSV doesn't exist, create it with header row first.
Append prediction to earnings-analysis/predictions.csv (see CSV Output section).
This step is REQUIRED. Execute this exact command:
python3 scripts/build-thinking-index.py {accession_no}
Replace {accession_no} with the actual accession number from your analysis (e.g., 0001234567-24-000001).
This extracts thinking from all sessions and sub-agents and saves to Obsidian.
Run /earnings-attribution separately to fill actual_* columns and verify prediction.
# In .claude/skills/earnings-prediction/
./enable-filter.sh # PIT filtering ON (default)
./disable-filter.sh # Direct mode (no filtering)
State persists until you run the other script.
History file: .claude/shared/earnings/subagent-history.csv (shared with earnings-attribution)
Format: See subagent-history.md for full documentation.
accession_no,skill,created_at,primary_session_id,agent_type,agent_id,resumed_from
0001514416-24-000020,prediction,2026-01-13T09:00:00,aaa11111,primary,,
0001514416-24-000020,prediction,2026-01-13T09:01:05,aaa11111,neo4j-entity,abc12345,
On analysis start:
primary row: {accession},prediction,{timestamp},{session_id},primary,,Before calling a subagent:
grep "{accession}" | grep ",{agent_type}," | tail -1 | cut -d',' -f6resume: <id> in Task callAfter each subagent completes:
agentId from Task response{accession},prediction,{timestamp},{session_id},{agent_type},{agent_id},{resumed_from}Version 2.2 | 2026-01-16 | Made thinking index build mandatory (Step 7)
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs