diff --git a/plugins/blocklist.json b/plugins/blocklist.json index 524f2b2..47484fa 100644 --- a/plugins/blocklist.json +++ b/plugins/blocklist.json @@ -1,5 +1,5 @@ { - "fetchedAt": "2026-03-11T07:00:48.746Z", + "fetchedAt": "2026-03-12T07:00:45.497Z", "plugins": [ { "plugin": "code-review@claude-plugins-official", diff --git a/plugins/installed_plugins.json b/plugins/installed_plugins.json index 013e619..fdd373f 100644 --- a/plugins/installed_plugins.json +++ b/plugins/installed_plugins.json @@ -23,10 +23,10 @@ "playground@claude-plugins-official": [ { "scope": "user", - "installPath": "/home/cal/.claude/plugins/cache/claude-plugins-official/playground/bd041495bd2a", - "version": "bd041495bd2a", + "installPath": "/home/cal/.claude/plugins/cache/claude-plugins-official/playground/b36fd4b75301", + "version": "b36fd4b75301", "installedAt": "2026-02-18T19:51:28.422Z", - "lastUpdated": "2026-03-10T23:00:48.720Z", + "lastUpdated": "2026-03-12T00:00:08.288Z", "gitCommitSha": "261ce4fba4f2c314c490302158909a32e5889c88" } ], @@ -43,10 +43,10 @@ "frontend-design@claude-plugins-official": [ { "scope": "user", - "installPath": "/home/cal/.claude/plugins/cache/claude-plugins-official/frontend-design/bd041495bd2a", - "version": "bd041495bd2a", + "installPath": "/home/cal/.claude/plugins/cache/claude-plugins-official/frontend-design/b36fd4b75301", + "version": "b36fd4b75301", "installedAt": "2026-02-22T05:53:45.091Z", - "lastUpdated": "2026-03-10T23:00:48.714Z", + "lastUpdated": "2026-03-12T00:00:08.281Z", "gitCommitSha": "aa296ec81e8ccb49c9784f167c2c0aa625a86cec" } ], diff --git a/plugins/known_marketplaces.json b/plugins/known_marketplaces.json index 4b9b8d4..7030eca 100644 --- a/plugins/known_marketplaces.json +++ b/plugins/known_marketplaces.json @@ -5,7 +5,7 @@ "url": "https://github.com/anthropics/claude-plugins-official.git" }, "installLocation": "/home/cal/.claude/plugins/marketplaces/claude-plugins-official", - "lastUpdated": "2026-03-10T16:01:30.404Z" + "lastUpdated": "2026-03-12T05:01:29.190Z" }, "claude-code-plugins": { "source": { @@ -13,6 +13,6 @@ "repo": "anthropics/claude-code" }, "installLocation": "/home/cal/.claude/plugins/marketplaces/claude-code-plugins", - "lastUpdated": "2026-03-11T07:00:48.703Z" + "lastUpdated": "2026-03-12T07:00:48.250Z" } } \ No newline at end of file diff --git a/plugins/marketplaces/claude-code-plugins b/plugins/marketplaces/claude-code-plugins index f6dbf44..6f049b6 160000 --- a/plugins/marketplaces/claude-code-plugins +++ b/plugins/marketplaces/claude-code-plugins @@ -1 +1 @@ -Subproject commit f6dbf44cd5f5a90f8fd2608c13f3d7bcf15bfe6f +Subproject commit 6f049b620f6066c5246b922dc7360371fe33c826 diff --git a/plugins/marketplaces/claude-plugins-official b/plugins/marketplaces/claude-plugins-official index bd04149..b36fd4b 160000 --- a/plugins/marketplaces/claude-plugins-official +++ b/plugins/marketplaces/claude-plugins-official @@ -1 +1 @@ -Subproject commit bd041495bd2a1f3e21317f37277b2f5aa152b759 +Subproject commit b36fd4b753018b0b340803579399992a32e43502 diff --git a/settings.json b/settings.json index e178fb4..bf0e3dc 100644 --- a/settings.json +++ b/settings.json @@ -139,7 +139,6 @@ "/mnt/NV2/SteamLibrary/" ] }, - "model": "opus", "enableAllProjectMcpServers": false, "enabledMcpjsonServers": [], "hooks": { diff --git a/skills/paper-dynasty/SKILL.md b/skills/paper-dynasty/SKILL.md index b539507..9492cbb 100644 --- a/skills/paper-dynasty/SKILL.md +++ b/skills/paper-dynasty/SKILL.md @@ -75,7 +75,7 @@ pd-cards [command] Only fall back to the Python API (`api_client.py`) for complex multi-step operations that the CLI doesn't cover (e.g., batch cleanup loops, custom card creation). -**For full CLI reference**: `reference/cli-reference.md` +**For CLI reference**: `reference/cli-overview.md` (links to per-command files) --- @@ -241,7 +241,13 @@ $PD gauntlet list/teams/cleanup # Gauntlet operations ├── reference/ │ ├── database-schema.md # Models, cardsets, pack types, rarities │ ├── api-reference.md # Endpoints, authentication, client examples -│ └── cli-reference.md # Full paperdomo & pd-cards commands +│ ├── cli-overview.md # CLI routing table — load this first +│ └── cli/ +│ ├── team.md # team list/get/cards +│ ├── pack.md # pack list/today/distribute + pack type IDs +│ ├── player.md # player get/list +│ ├── gauntlet.md # gauntlet list/teams/cleanup +│ └── pd-cards.md # custom/scouting/retrosheet/upload/live-series ├── workflows/ │ ├── card-generation.md # Retrosheet reference (pipeline now in retrosheet-card-update agent) │ ├── live-series-update.md # Live series reference (pipeline now in live-series-card-update agent) @@ -267,7 +273,7 @@ $PD gauntlet list/teams/cleanup # Gauntlet operations |------|------| | Database model details | `reference/database-schema.md` | | API endpoints & client usage | `reference/api-reference.md` | -| Full CLI command reference | `reference/cli-reference.md` | +| CLI command reference | `reference/cli-overview.md` → load `cli/team.md`, `cli/pack.md`, `cli/player.md`, `cli/gauntlet.md`, or `cli/pd-cards.md` | | Retrosheet card workflow / PotM | **Use `retrosheet-card-update` agent** (ref: `workflows/card-generation.md`) | | Live series workflow / PotM | **Use `live-series-card-update` agent** (ref: `workflows/live-series-update.md`) | | Card rendering issues | `workflows/TROUBLESHOOTING.md` | diff --git a/skills/paper-dynasty/reference/cli-reference.md b/skills/paper-dynasty/reference/cli-reference.md deleted file mode 100644 index 2288a3f..0000000 --- a/skills/paper-dynasty/reference/cli-reference.md +++ /dev/null @@ -1,141 +0,0 @@ -# Paper Dynasty CLI Reference - -**Load this when**: You need the full CLI command reference for `paperdomo` or `pd-cards`. - ---- - -## paperdomo CLI - -The `cli.py` provides a command-line interface for common operations. - -**Shell Alias**: `paperdomo` (defined in `~/.bashrc`) - -**Claude Code Note**: The alias is not available in non-interactive shells. Use the full path: -```bash -python ~/.claude/skills/paper-dynasty/cli.py -``` - -### Commands - -```bash -# Status & Health -python ~/.claude/skills/paper-dynasty/cli.py status # Packs opened today summary -python ~/.claude/skills/paper-dynasty/cli.py health # API health check - -# Team Operations -paperdomo team list [--season N] # List teams -paperdomo team get SKB # Get team details -paperdomo team cards SKB # List team's cards - -# Pack Operations -paperdomo pack list [--team SKB] [--opened/--unopened] # List packs -paperdomo pack today # Packs opened today analytics -paperdomo pack distribute --num 10 # Distribute packs to all teams -paperdomo pack distribute --num 11 --exclude CAR # With exclusions - -# Gauntlet Operations -paperdomo gauntlet list [--event-id 8] [--active] # List gauntlet runs -paperdomo gauntlet teams [--active] # List gauntlet teams -paperdomo gauntlet cleanup Gauntlet-SKB --event-id 8 --yes # Cleanup team - -# Player Operations -paperdomo player get 12345 # Get player by ID -paperdomo player list [--rarity "Hall of Fame"] [--cardset 27] # List players -``` - -### Global Options - -```bash ---env prod|dev # Environment (default: prod) ---json # Output as JSON ---verbose / -v # Show API request details ---yes / -y # Skip confirmation for destructive operations -``` - ---- - -## pd-cards CLI - -The card creation CLI for retrosheet processing, scouting, custom cards, and S3 uploads. - -**Location**: `/mnt/NV2/Development/paper-dynasty/card-creation` - -### Custom Cards - -```bash -pd-cards custom list # List profiles -pd-cards custom preview # Preview ratings -pd-cards custom submit # Submit to DB -pd-cards custom new -n "Name" -t batter -h L # New template -``` - -### Scouting Reports - -```bash -pd-cards scouting all -c 27 # All reports -pd-cards scouting batters -c 27 -c 29 # Batters only -pd-cards scouting pitchers -c 27 # Pitchers only -``` - -### Retrosheet Processing - -```bash -pd-cards retrosheet process 2005 -c 27 -d Live # Full season -pd-cards retrosheet validate 27 # Check positions -pd-cards retrosheet arms 2005 -e events.csv # OF arm ratings -pd-cards retrosheet defense 2005 --output "dir/" # Fetch defense stats -``` - -**Retrosheet Flags**: -- `--end YYYYMMDD` - End date for data processing -- `--start YYYYMMDD` - Start date for data processing -- `--season-pct FLOAT` - Season percentage (0.0-1.0) -- `--cardset-id, -c INT` - Target cardset ID -- `--description, -d TEXT` - "Live" or "Month PotM" -- `--dry-run, -n` - Preview without database changes -- `--last-week-ratio FLOAT` - Recency bias for last week -- `--last-twoweeks-ratio FLOAT` - Recency bias for last 2 weeks -- `--last-month-ratio FLOAT` - Recency bias for last month - -### S3 Uploads - -```bash -pd-cards upload s3 -c "2005 Live" # Upload to S3 -pd-cards upload s3 -c "2005 Live" --limit 10 # Test with limit -pd-cards upload refresh -c "2005 Live" # Regenerate -pd-cards upload check -c "2005 Live" # Validate only -``` - -**Upload Flags**: -- `--cardset, -c`: Cardset name (required) -- `--start-id`: Resume from player ID -- `--limit, -l`: Max cards to process -- `--no-upload`: Validate only -- `--skip-batters/--skip-pitchers`: Skip card types -- `--dry-run, -n`: Preview mode - -### Live Series - -```bash -pd-cards live-series update -c "2025 Season" -g 81 -pd-cards live-series status -``` - ---- - -## Scripts Directory - -**Location**: `~/.claude/skills/paper-dynasty/scripts/` - -```bash -# Gauntlet cleanup -python gauntlet_cleanup.py list --event-id 8 --active-only -python gauntlet_cleanup.py wipe --team-abbrev Gauntlet-SKB --event-id 8 - -# Pack distribution -DATABASE=prod python distribute_packs.py --num-packs 10 -DATABASE=prod python distribute_packs.py --num-packs 11 --exclude-team-abbrev CAR - -# Validation -python validate_database.py -``` diff --git a/skills/paper-dynasty/reference/cli/gauntlet.md b/skills/paper-dynasty/reference/cli/gauntlet.md new file mode 100644 index 0000000..93d99f5 --- /dev/null +++ b/skills/paper-dynasty/reference/cli/gauntlet.md @@ -0,0 +1,52 @@ +# paperdomo gauntlet Commands + +**Load this when**: You need gauntlet list, teams, or cleanup command syntax. + +```bash +PD="python ~/.claude/skills/paper-dynasty/cli.py" +``` + +--- + +## Commands + +```bash +$PD gauntlet list [--event-id N] [--active] # List gauntlet runs +$PD gauntlet teams [--active] # List gauntlet teams +$PD gauntlet cleanup TEAM_ABBREV --event-id N --yes # Cleanup a gauntlet team +``` + +## Examples + +```bash +$PD gauntlet list # All gauntlet runs +$PD gauntlet list --active # Active runs only +$PD gauntlet list --event-id 8 # Runs for event 8 +$PD gauntlet list --event-id 8 --active # Active runs in event 8 +$PD gauntlet teams # All gauntlet teams +$PD gauntlet teams --active # Active gauntlet teams only +$PD gauntlet cleanup Gauntlet-SKB --event-id 8 --yes # Wipe team (skip confirm) +$PD gauntlet cleanup Gauntlet-SKB -e 9 -y # Short flags +``` + +## Cleanup Safety + +**Safe to clean**: Gauntlet teams (temporary), completed runs, eliminated teams +**Never clean**: Regular season teams, teams with active gameplay, before tournament ends + +Cleanup effects: +| Data | Action | Reversible? | +|------|--------|-------------| +| Cards | Unassigned (team = NULL) | Yes (reassign) | +| Packs | Deleted | No | +| Run Record | Ended (timestamp set) | Kept in DB | +| Team/Results/Stats | Preserved | Kept in DB | + +## Global Options + +```bash +--env prod|dev # Environment (default: prod) +--json # Output as JSON +--verbose / -v # Show API request details +--yes / -y # Skip confirmation prompt +``` diff --git a/skills/paper-dynasty/reference/cli/pd-cards.md b/skills/paper-dynasty/reference/cli/pd-cards.md new file mode 100644 index 0000000..54bca36 --- /dev/null +++ b/skills/paper-dynasty/reference/cli/pd-cards.md @@ -0,0 +1,80 @@ +# pd-cards CLI Reference + +**Load this when**: You need pd-cards command syntax for custom cards, scouting, retrosheet, S3 uploads, or live series. + +**Location**: `/mnt/NV2/Development/paper-dynasty/card-creation` + +```bash +cd /mnt/NV2/Development/paper-dynasty/card-creation +``` + +--- + +## Custom Cards + +```bash +pd-cards custom list # List profiles +pd-cards custom preview # Preview ratings +pd-cards custom submit # Submit to DB +pd-cards custom new -n "Name" -t batter -h L # New template +``` + +--- + +## Scouting Reports + +```bash +pd-cards scouting all -c 27 # All reports for cardset 27 +pd-cards scouting batters -c 27 -c 29 # Batters only (multiple cardsets) +pd-cards scouting pitchers -c 27 # Pitchers only +``` + +--- + +## Retrosheet Processing + +```bash +pd-cards retrosheet process 2005 -c 27 -d Live # Full season processing +pd-cards retrosheet validate 27 # Check positions for cardset 27 +pd-cards retrosheet arms 2005 -e events.csv # OF arm ratings +pd-cards retrosheet defense 2005 --output "dir/" # Fetch defense stats +``` + +**Retrosheet Flags**: +- `--end YYYYMMDD` - End date for data processing +- `--start YYYYMMDD` - Start date for data processing +- `--season-pct FLOAT` - Season percentage (0.0-1.0) +- `--cardset-id, -c INT` - Target cardset ID +- `--description, -d TEXT` - "Live" or "Month PotM" +- `--dry-run, -n` - Preview without database changes +- `--last-week-ratio FLOAT` - Recency bias for last week +- `--last-twoweeks-ratio FLOAT` - Recency bias for last 2 weeks +- `--last-month-ratio FLOAT` - Recency bias for last month + +--- + +## S3 Uploads + +```bash +pd-cards upload s3 -c "2005 Live" # Upload to S3 +pd-cards upload s3 -c "2005 Live" --limit 10 # Test with limit +pd-cards upload refresh -c "2005 Live" # Regenerate card images +pd-cards upload check -c "2005 Live" # Validate only +``` + +**Upload Flags**: +- `--cardset, -c` - Cardset name (required) +- `--start-id` - Resume from player ID +- `--limit, -l` - Max cards to process +- `--no-upload` - Validate only, no upload +- `--skip-batters` / `--skip-pitchers` - Skip card types +- `--dry-run, -n` - Preview mode + +--- + +## Live Series + +```bash +pd-cards live-series update -c "2025 Season" -g 81 # Update with 81 games played +pd-cards live-series status # Check live series status +```