Update plugins config and paper-dynasty skill CLI reference
- Update blocklist, installed_plugins, known_marketplaces plugin configs - Sync marketplace submodules (claude-code-plugins, claude-plugins-official) - Update settings.json - Update paper-dynasty SKILL.md - Replace cli-reference.md with split cli/ docs (gauntlet.md, pd-cards.md)
This commit is contained in:
parent
897a51d5a6
commit
4f67c7ca72
@ -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",
|
||||
|
||||
@ -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"
|
||||
}
|
||||
],
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
@ -1 +1 @@
|
||||
Subproject commit f6dbf44cd5f5a90f8fd2608c13f3d7bcf15bfe6f
|
||||
Subproject commit 6f049b620f6066c5246b922dc7360371fe33c826
|
||||
@ -1 +1 @@
|
||||
Subproject commit bd041495bd2a1f3e21317f37277b2f5aa152b759
|
||||
Subproject commit b36fd4b753018b0b340803579399992a32e43502
|
||||
@ -139,7 +139,6 @@
|
||||
"/mnt/NV2/SteamLibrary/"
|
||||
]
|
||||
},
|
||||
"model": "opus",
|
||||
"enableAllProjectMcpServers": false,
|
||||
"enabledMcpjsonServers": [],
|
||||
"hooks": {
|
||||
|
||||
@ -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` |
|
||||
|
||||
@ -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 <command>
|
||||
```
|
||||
|
||||
### 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 <name> # Preview ratings
|
||||
pd-cards custom submit <name> # 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
|
||||
```
|
||||
52
skills/paper-dynasty/reference/cli/gauntlet.md
Normal file
52
skills/paper-dynasty/reference/cli/gauntlet.md
Normal file
@ -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
|
||||
```
|
||||
80
skills/paper-dynasty/reference/cli/pd-cards.md
Normal file
80
skills/paper-dynasty/reference/cli/pd-cards.md
Normal file
@ -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 <name> # Preview ratings
|
||||
pd-cards custom submit <name> # 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
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user