Communitygithub.com

oyi77/1ai-skills

Use when portfolio manager — capital allocation, risk management, and performance metrics tracking for trading strategies.

O que é 1ai-skills?

1ai-skills is a Claude Code agent skill that use when portfolio manager — capital allocation, risk management, and performance metrics tracking for trading strategies.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/oyi77/1ai-skills/tree/HEAD/trading/portfolio-manager

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Portfolio Manager

When to Use

Trigger phrases:

  • "Managing capital allocation across multiple trading strategies"

  • "Tracking performance metrics (IRR, MOIC, Sharpe, win rate) for a quant fund"

  • "Implementing phase gates for progression from paper to live to scaled trading"

  • Managing capital allocation across multiple trading strategies

  • Tracking performance metrics (IRR, MOIC, Sharpe, win rate) for a quant fund

  • Implementing phase gates for progression from paper to live to scaled trading

  • Calculating position sizes with risk-based formulas

  • Generating investor reports for fund performance review

When NOT to Use

  • When you cannot afford to lose the capital at risk
  • For instruments you do not understand
  • When emotional state impairs judgment (revenge trading, FOMO)

Overview

Portfolio Manager provides market analysis capabilities with risk management.

Workflow

# Example: Position sizing (Kelly Criterion)
def kelly_size(win_rate: float, avg_win: float, avg_loss: float) -> float:
    if avg_loss == 0: return 0
    b = avg_win / abs(avg_loss)
    kelly = (win_rate * b - (1 - win_rate)) / b
    return max(0, min(kelly * 0.5, 0.02))  # Half-Kelly, max 2%
  1. Research — Analyze market conditions and opportunities
  2. Plan — Define entry, exit, and position sizing
  3. Execute — Place trades with proper order types
  4. Monitor — Track positions and market changes
  5. Manage risk — Apply stop-losses and hedging
  6. Review — Post-trade analysis and journaling

Risk Management

  • Never risk more than 1-2% of portfolio per trade
  • Set stop-loss before entering any position
  • Diversify across uncorrelated assets
  • Size positions based on volatility (ATR)
  • Have a maximum daily loss limit

Key Metrics

  • Win rate and profit factor
  • Sharpe ratio and max drawdown
  • Average risk-reward ratio
  • Expectancy per trade
  • Correlation to benchmark

Discipline Rules

  • Follow your trading plan — no impulsive trades
  • Cut losses short, let winners run
  • Review every trade in your journal
  • Never revenge trade after a loss
  • Take breaks after consecutive losses

Anti-Rationalization Table

RationalizationReality
"I will cut losses later"Later never comes. Set stop-losses before entering any trade.
"This time is different"It never is. Follow your strategy, not your emotions.
"I do not need to journal"Journaling reveals patterns in your behavior. Track every trade.

Process

  1. Prepare — Gather requirements, verify prerequisites, set up environment
  2. Execute — Run portfolio manager workflow with configured parameters
  3. Verify — Validate output meets requirements, document results

Verification

  • All steps executed successfully
  • Results validated against acceptance criteria
  • Error handling tested with edge cases
  • Documentation updated with findings

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

oyi77/1ai-skills

Turn a weekly changelog .md into a finished branded changelog video using HyperFrames. Use when the user provides a changelog/digest markdown and wants the weekly video, or says 'changelog video'. Self-contained — fonts, background, lexicon, and scripts ship in the skill. Produces square 1080, ~45-60s videos with animated brand mock-UIs.

oyi77/1ai-skills

The transition technique catalog for HyperFrames videos — five velocity-matched SEAMS (zoom-through, inverse zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus in-scene techniques (waterfall entry, nudge curve). Covers partial-travel velocity matching, Z scale-sign rule, size-scaled blur, the 10/65/25 slide ratio, and the 2-3 transition budget. Read before authoring any transition, text-beat handoff, or kinetic text entry.

oyi77/1ai-skills

Add captions/subtitles to talking-head or launch videos using HyperFrames. Use when the user wants embedded captions, verbatim caption rails, or cinematic text behind the subject. Covers the drop/rail/embed caption model, the overlay law (captions are NOT a reserved band), matte occlusion for embedded climaxes, and word-timestamp alignment from TTS output.

oyi77/1ai-skills

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video using HyperFrames. Use when the user wants a topic explainer, concept breakdown, how-to, or listicle with no product/website to capture. Every visual is invented per scene (typography, abstract graphics, diagrams, data-viz). Not a video built from a website (use hyperframes-product-launch-video).

oyi77/1ai-skills

The fallback HyperFrames workflow for anything that doesn't fit other skills — longer multi-scene pieces, brand/sizzle reels, title cards, static loops, freeform compositions. Input- and length-agnostic. Also the home of companion mode (co-create with the full toolbox). Use when no other HyperFrames skill matches, or when the user wants a freeform video.

oyi77/1ai-skills

Create short, unnarrated, design-led motion graphics (~under 10s) using HyperFrames. Use when the user wants kinetic type, stat/chart hits, logo stings, lower-thirds, animated tweets/headlines, or transparent overlay motion graphics. MP4 or transparent overlay output. Teaches seek-safe keyframe authoring and the 2-3 transition budget rule.

oyi77/1ai-skills

Turn a music track into a beat-synced HyperFrames video — lyric, slideshow, or kinetic promo. Use when the user provides an audio file, a video to pull audio from, or a mood brief for generated music. Music drives pacing. Teaches beat-map extraction, section-based scene planning, and audio-reactive visuals.

oyi77/1ai-skills

Create product launch videos from a URL, brief, or script using HyperFrames (HTML→MP4). Use when the user wants a product launch video, site tour, social clip featuring a product's own visuals, or marketing/promoting a product. Up to ~3 min (sweet spot 30-90s). Teaches the HyperFrames production loop: plan → write HTML → wire seekable animations → add media → lint → preview → render.

oyi77/1ai-skills

The Video Production Manager — manages ALL video production under 1ai-content. Delegates to HyperFrames, Remotion, AI video, and FFmpeg based on the task. Has memory via 1ai-hub brain, follows 1ai-rules, and reports to Content Director. Use when the user says 'make a video', 'create video', 'edit video', 'video strategy', or needs any video production work.

oyi77/1ai-skills

Agent skill at content/video/gen/SKILL.md

oyi77/1ai-skills

Use when track portfolio company KPIs, variances, returns analysis. Use when user says "monitor portfolio", "track KPIs", "portfolio returns".

Habilidades Relacionadas