stag-strategy
STAG v1.0.0 — Parabolic-Run Hunter. The entry-side pair for the parabolic_runner DSL preset. Enters LONG only when ALL FIVE gates pass: structural trend (close > 200-bar 4h SMA + 7d high within 48h), 7d move ≥ 25% (the parabolic threshold), 1.5x volume surge, acceleration (4d ≥ 7d/2), AND Smart Money LONG ≥ 60%. Built for HYPE-class runs (+60% over 16 days) where standard DSL trails would chop on 5-8% intraday gyrations. Operator-driven: most ticks return empty by design.
What this skill does
# 🦌 STAG v1.0.0 — Parabolic-Run Hunter **Ride the HYPE-class runs without getting chopped out on the gyrations.** Stag is the entry-side pair for the new `parabolic_runner` DSL preset — enter only when there's a real parabolic-runner setup, then let the widest DSL in the catalog hold the position through the 5–8% intraday pullbacks that would kill a normal trend trail. ## Why this strategy exists Reference setup: HYPE 2026-05, $40 → $65 over 16 days. Through the middle of that run (May 17–25) there are at least 5 distinct 5–10% intraday gyrations on the 1h chart. Standard fleet DSL trails would chop a position out on any of them, missing the rest of the run. The problem isn't the DSL — it's that the DSL is making **local-volatility decisions** when the trade calls for **structural-trend decisions**. Stag's answer is twofold: 1. **Strict 5-gate entry** so we only fire when there's actually a parabolic to ride (not a normal 5–10% trend). 2. **Ship paired with `parabolic_runner` DSL** — max_loss 25%, retrace 18, 2 consecutive breaches required, late first lock (+15%), light early tiers, 14d outer bound. Built specifically to accept the gyrations. The trade-off is honest: this preset **bleeds in chop**. If the parabolic doesn't materialize, Stag gives back more than `let_winners_run` would. That's why the 5-gate filter is strict — the only way the wide DSL pays is if you've correctly identified the setup. ## CRITICAL RULES ### RULE 1: All five entry gates required Each tick, for each whitelisted asset: | Gate | Threshold | Default | Purpose | |---|---|---|---| | **Structural trend** | close > 200-bar 4h SMA AND 7d high made within last 48h | — | filter chop and reversals | | **Strength** | 7d move ≥ `minTrendPct` | 25% | defines "parabolic" vs normal trend | | **Volume** | mean(last 6 4h bars) / mean(last 42 4h bars) ≥ `volSurgeRatio` | 1.5× | real participation, not drift | | **Acceleration** | 4d move ≥ 7d move ÷ 2 | — | recent half keeping pace or faster | | **SM aligned LONG** | ≥ `smTiltMinPct` | 60% | not contrarian — Stag rides crowded longs | If **any** gate fails, the asset is dropped. Most ticks return empty — that's the design. ### RULE 2: LONG only Parabolic crashes happen too fast for momentum-style shorts. Stag is asymmetric. ### RULE 3: Operator-driven deployment Stag is the tool you deploy *when you've already seen the setup forming.* Typical workflow: 1. Operator notices a parabolic setting up on one asset (e.g. HYPE +30% over 7d, volume surging). 2. Deploys Stag with that single asset: `whitelist: ["HYPE"]`, 25% margin, 4x leverage. 3. Stag fires when its gates trip — could be same hour, could be next day. 4. The wide DSL holds the position through the full run, including consolidations. 5. When the run finishes (T4 tier ratchets in, or `max_loss_pct: 25` trips on a real reversal), Stag closes. 6. Operator pauses Stag until the next regime. Running Stag on a 4-asset basket as a passive scan also works, but the strict gates mean most ticks will be silent. ### RULE 4: Producer enters. DSL exits. No `close_position` call site. The DSL is the entire exit logic — and the WIDE DSL is the whole point of Stag's existence. ## How Stag scores a trade **Gate:** all five entry gates passed. **Score components** (max ~7): | Signal | Points | |---|---| | All 5 gates passed (base) | +3 | | 7d trend ≥ `strongTrendPct` (default 40%) | +2 | | Accelerating (gate already required, but adds to score) | +1 | | Volume ratio ≥ 2.0× (vs the 1.5× gate threshold) | +1 | **Floor:** `minScore: 5`. ## DSL preset (`parabolic_runner` — widest in the catalog) | Phase | Component | Setting | |---|---|---| | Phase 1 | max_loss_pct | **25%** (vs 20 in `let_winners_run`) | | Phase 1 | retrace_threshold | **18** (vs 12) | | Phase 1 | consecutive_breaches_required | **2** (vs 1) | | Time cuts | hard_timeout | **14d** outer bound | | Time cuts | weak_peak_cut | DISABLED | | Time cuts | dead_weight_cut | DISABLED | | Phase 2 | T0 → T4 | +15/0 · +30/30 · +60/55 · +120/72 · +250/85 | See [`senpi-trading-runtime/references/dsl-presets.yaml`](https://github.com/Senpi-ai/senpi-skills/blob/main/senpi-trading-runtime/references/dsl-presets.yaml) for the canonical preset. ## Scanner pattern Archetype #4 (Multi-asset whitelist) with strict 5-gate parabolic filtering — see `senpi-trading-runtime/references/producer-patterns.md`. Primary MCP calls: `market_get_asset_data(candle_intervals=["4h"])` per asset (needs ≥ 200 candles for the SMA), `leaderboard_get_markets` (SM gate). The pure functions (`pct_change`, `sma`, `is_above_sma`, `recent_high_bars_ago`, `volume_surge`, `is_accelerating`, `parabolic_score`) are unit-tested in `tests/test_signal.py`. ## Operator install See [README.md](README.md). ## Changelog ### v1.0.0 (2026-05-28) — initial release First fleet agent paired with the new `parabolic_runner` DSL preset. Strict 5-gate filter (structural trend + 25% strength + 1.5× volume surge + acceleration + SM ≥60% LONG). LONG only. Aggressive risk tier with 1 max entry/day + 24h per-asset cooldown after a bad take. Taker-true entry, disown-safe launch, 18-test pure-function suite covering all gates. ## License MIT — Copyright 2026 Senpi (https://senpi.ai). ## Skill Attribution When creating a strategy, include `skill_name` and `skill_version`. See `references/skill-attribution.md`.
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.