[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C36EH6DQB5XMYSTTW2JR8A":3,"skill-same:01M6C36EH6DQB5XMYSTTW2JR8A":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":56,"linkOnly":57,"markdownContent":58,"markdownBody":59,"frontMatter":60,"refName":76,"commitSha":77,"skillDirectory":78,"forksCount":79,"repositoryHtmlUrl":80,"repositoryHomepageUrl":81,"ownerHtmlUrl":82,"ownerBlogUrl":83,"ownerDescription":84,"updatedAt":85,"install":86,"resources":98},"01M6C36EH6DQB5XMYSTTW2JR8A","curate","多类型媒体策展流程编排","Orchestrate type-flexible media curation from assessment and planning through acquisition, tagging\u002Ftranscription, provenance, and verification","编排支持多种媒体类型的策展工作，涵盖从评估与规划，到获取、标注\u002F转录、来源溯源与验证的完整流程。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fmedia-curator\u002Fskills\u002Fcurate\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8CCB7F9NTFH1F7981EYJXGR","媒体档案管理与数字保存","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CCB7FT60CVS40JZCHMSKJZ","媒体档案管理员","PROFESSION","适用职业",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],"acquisition","tagging","websearch","curation","complete","scope","efficiency","export","webfetch","profile","write","read","assessment","grep","haiku","quality","archive","plan","Bash","Media","collection","provenance","orchestrate","verification","planning","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: curate\nplatforms: [all]\ndescription: Orchestrate type-flexible media curation from assessment and planning through acquisition, tagging\u002Ftranscription, provenance, and verification\nuserInvocable: true\ntriggers:\n  - \"curate arbitrary media collection\"\n  - \"assess unsupported media type\"\n  - \"plan mixed media archive\"\n  - \"curate media collection\"\n  - \"build media curation plan\"\ncommandHint:\n  argumentHint: '\"\u003Ccollection-or-artist>\" [--scope complete|era:NAME|style:NAME|custom] [--output \u003Cdir>] [--quality \u003Cthreshold>] [--export \u003Cprofile>]'\n  allowedTools: 'Bash, Read, Write, Glob, Grep, WebSearch, WebFetch, Task'\n  model: haiku\n  category: media-curator\n  orchestration: true\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Curate Media Collection\n\nMain orchestration entry point for end-to-end media curation. It first assesses\nthe requested collection type and available examples, then chooses the right\nworkflow: artist discography curation, video\u002Faudio acquisition and transcript\nhandoff, archive verification, metadata tagging, or a narrow custom tooling plan\nfor unsupported asset types.\n\n## Triggers\n\n- \"curate arbitrary media collection\"\n- \"assess unsupported media type\"\n- \"plan mixed media archive\"\n- \"curate media collection\"\n- \"build media curation plan\"\n\n## Purpose\n\nMedia curation is a multi-phase workflow requiring coordination across\nassessment, discovery, acquisition, metadata tagging, transcription when\nrelevant, verification, provenance, and export. This command orchestrates the\nfull pipeline, managing dependencies between phases and ensuring quality at\neach step.\n\n## Type-Flexible Intake\n\nDo not assume every request is an artist\u002Fmusic collection. Inspect:\n- user intent and desired output\n- available examples, filenames, metadata, source URLs, and licenses\n- target asset types and expected consumers\n- existing libraries\u002Ftools for the asset type\n\nIf the framework has specialized handling, use it. If it does not, produce a\nconcrete assess-and-plan result, collect safe provenance\u002Fsource\u002Flicense\u002Ffixity\nmetadata, and identify the narrow reusable tool or plugin needed next. Existing\naudio\u002Fmusic workflows remain valid specialized paths.\n\n## Parameters\n\n### Required\n\n**`\u003Cartist>`** - Artist name to curate. Quoted if contains spaces.\n\nExample: `\"Pink Floyd\"`\n\n### Optional\n\n**`--scope \u003Ccomplete|era:NAME|style:NAME>`** - Curation scope.\n\n- `complete`: Full discography (all albums, all eras)\n- `era:NAME`: Specific era only (e.g., `era:Classic Rock Era (1968-1979)`)\n- `style:NAME`: Specific style only (e.g., `style:Progressive Rock`)\n\nDefault: `complete`\n\n**`--output \u003Cdir>`** - Output directory for curated collection.\n\nDefault: `~\u002FMusic\u002FCurated\u002F\u003Cartist>`\n\n**`--quality \u003Cthreshold>`** - Minimum quality score (0.0-1.0).\n\n- 0.9-1.0: Audiophile (lossless, verified sources, complete metadata)\n- 0.7-0.89: High quality (lossless or high-bitrate lossy, good metadata)\n- 0.5-0.69: Standard quality (acceptable lossy formats, basic metadata)\n- Below 0.5: Low quality (rejected unless explicitly allowed)\n\nDefault: `0.7`\n\n**`--export \u003Cprofile>`** - Export to platform-specific format after curation.\n\nOptions: `plex`, `jellyfin`, `mpd`, `mobile`, `archival`\n\nDefault: None (no export)\n\n**`--dry-run`** - Simulate workflow without downloading or modifying files.\n\n**`--resume`** - Resume previous incomplete curation session.\n\n## Orchestration Flow\n\n```\n\u002Fcurate \"Pink Floyd\" --scope complete --quality 0.8 --export plex\n\nPhase 1: Analysis\n├── \u002Fanalyze-artist \"Pink Floyd\"\n├── Output: Era breakdown, style classification, album list\n└── Status: 16 studio albums, 3 eras identified\n\nPhase 2: Discovery\n├── \u002Ffind-sources \"Pink Floyd\" --scope complete --quality 0.8\n├── Searches: MusicBrainz, Archive.org, Discogs, Bandcamp, label sites\n├── Output: Ranked source list per album\n└── Status: 127 sources found across 16 albums\n\nPhase 3: Acquisition\n├── \u002Facquire \"Pink Floyd\" --quality 0.8\n├── Downloads: Top-ranked sources meeting quality threshold\n├── Validates: Format, bitrate, checksums\n├── Output: Downloaded files in output directory\n└── Status: 14\u002F16 albums acquired (2 unavailable at threshold)\n\nPhase 4: Curation\n├── \u002Ftag-collection ~\u002FMusic\u002FCurated\u002FPink\\ Floyd\n├── Metadata: Artist, album, track, year, genre, artwork\n├── Artwork: Embedded + folder.jpg per album\n├── Output: Fully tagged collection\n└── \u002Fverify-archive ~\u002FMusic\u002FCurated\u002FPink\\ Floyd\n    ├── Checksums: SHA-256 per file\n    ├── Provenance: PROVENANCE.jsonld per album\n    ├── Output: SHA256SUMS, PROVENANCE.jsonld\n    └── Status: All files verified, provenance recorded\n\nPhase 5: Completeness Analysis\n├── \u002Fcheck-completeness ~\u002FMusic\u002FCurated\u002FPink\\ Floyd\n├── Compares: Collection against canonical discography\n├── Output: Gap report (missing albums, tracks, formats)\n└── Status: 87.5% complete (2 albums missing)\n\nPhase 6: Export (Optional)\n├── \u002Fexport --profile plex ~\u002FMusic\u002FCurated\u002FPink\\ Floyd \u002Fmedia\u002Fplex\u002FMusic\n├── Transcodes: As needed per profile\n├── Structure: Artist\u002FAlbum (Year)\u002FTrack - Title.ext\n├── Metadata: Embedded + folder.jpg\n└── Status: 14 albums exported to Plex\n```\n\n## Phase Details\n\n### Phase 1: Analysis\n\n**Command:** `\u002Fanalyze-artist \"\u003Cartist>\"`\n\n**Purpose:** Understand artist's discography structure, eras, styles, and canonical album list.\n\n**Inputs:**\n- Artist name\n\n**Outputs:**\n- `.aiwg\u002Fmedia\u002Fanalysis\u002F\u003Cartist>.md`: Era breakdown, style classification\n- `.aiwg\u002Fmedia\u002Fdiscography\u002F\u003Cartist>.json`: Canonical album list with MusicBrainz IDs\n\n**Success Criteria:**\n- All studio albums identified\n- Eras defined with year ranges\n- Styles classified per album\n\n**Example Output:**\n```\nPink Floyd Analysis Complete\n- Studio Albums: 16\n- Eras: 3 (Psychedelic, Classic Progressive, Post-Waters)\n- Styles: Progressive Rock, Psychedelic Rock, Art Rock\n- Canonical Discography: .aiwg\u002Fmedia\u002Fdiscography\u002FPink Floyd.json\n```\n\n### Phase 2: Discovery\n\n**Command:** `\u002Ffind-sources \"\u003Cartist>\" --scope \u003Cscope> --quality \u003Cthreshold>`\n\n**Purpose:** Search multiple sources, rank by quality, filter by threshold.\n\n**Inputs:**\n- Artist name\n- Scope (complete\u002Fera\u002Fstyle)\n- Quality threshold\n\n**Outputs:**\n- `.aiwg\u002Fmedia\u002Fsources\u002F\u003Cartist>-sources.json`: Ranked source list per album\n\n**Search Sources:**\n1. MusicBrainz (authoritative metadata)\n2. Archive.org (public domain, live recordings)\n3. Bandcamp (artist-direct, high quality)\n4. Discogs (marketplace, quality varies)\n5. Label websites (official, often highest quality)\n\n**Ranking Criteria:**\n- Format (FLAC > WAV > ALAC > Opus > MP3)\n- Bitrate (higher is better for lossy)\n- Source reputation (artist-direct > label > verified uploader > unknown)\n- Metadata completeness (full tags > partial > missing)\n- Artwork availability (embedded + high-res > embedded only > missing)\n\n**Success Criteria:**\n- At least one source per album meeting quality threshold\n- Sources ranked by quality score\n\n**Example Output:**\n```\nDiscovery Complete: Pink Floyd\n- Albums Found: 16\u002F16\n- Total Sources: 127\n- Sources Meeting Threshold (0.8): 89\n- Top Sources: .aiwg\u002Fmedia\u002Fsources\u002FPink Floyd-sources.json\n```\n\n### Phase 3: Acquisition\n\n**Command:** `\u002Facquire \"\u003Cartist>\" --quality \u003Cthreshold>`\n\n**Purpose:** Download top-ranked sources, validate quality, organize files.\n\n**Inputs:**\n- Artist name\n- Quality threshold\n- Source rankings from Phase 2\n\n**Outputs:**\n- Downloaded files in `\u003Coutput_dir>\u002F\u003Cartist>\u002F\u003Calbum>\u002F`\n- `.aiwg\u002Fmedia\u002Fdownloads\u002F\u003Cartist>-acquisition.log`: Download log\n\n**Download Strategy:**\n1. Select top-ranked source per album\n2. Download to temporary location\n3. Validate format, bitrate, checksums\n4. Move to output directory if valid\n5. Retry with next-ranked source on failure\n\n**Validation:**\n- Format check: `ffprobe` confirms declared format\n- Bitrate check: Meets minimum for quality threshold\n- Checksum: If provided by source, verify SHA-256\n- File integrity: No corruption, complete download\n\n**Success Criteria:**\n- Files downloaded and validated\n- Organized in `\u003Cartist>\u002F\u003Calbum>\u002F` structure\n- Acquisition log records sources and timestamps\n\n**Example Output:**\n```\nAcquisition Complete: Pink Floyd\n- Albums Acquired: 14\u002F16\n- Total Files: 187 tracks, 14 cover images\n- Total Size: 4.2 GB\n- Failed: 2 albums (no sources meeting threshold 0.8)\n- Download Log: .aiwg\u002Fmedia\u002Fdownloads\u002FPink Floyd-acquisition.log\n```\n\n### Phase 4: Curation\n\n**Subphase 4a: Tagging**\n\n**Command:** `\u002Ftag-collection \u003Ccollection_path>`\n\n**Purpose:** Embed complete metadata and artwork into all files.\n\n**Inputs:**\n- Collection directory path\n- Canonical discography from Phase 1\n\n**Outputs:**\n- Tagged audio files (metadata embedded)\n- `folder.jpg` per album directory\n- `.aiwg\u002Fmedia\u002Ftagging\u002F\u003Cartist>-tagging.log`: Tagging log\n\n**Metadata Sources:**\n1. MusicBrainz (authoritative)\n2. Discogs (supplementary)\n3. Embedded tags (if already present)\n\n**Tags Applied:**\n- Artist, Album Artist, Album, Track Title, Track Number\n- Year, Date, Genre, Style\n- MusicBrainz IDs (release, recording, artist)\n- Label, Catalog Number\n\n**Artwork Handling:**\n- Extract embedded artwork if present\n- Search for high-resolution artwork if missing\n- Resize to 1500x1500 maximum\n- Embed into audio files\n- Save as `folder.jpg` in album directory\n\n**Success Criteria:**\n- All files have complete metadata\n- All albums have artwork (embedded + folder.jpg)\n\n**Example Output:**\n```\nTagging Complete: Pink Floyd\n- Files Tagged: 187\u002F187\n- Metadata Sources: MusicBrainz (primary), Discogs (supplementary)\n- Artwork: 14 albums (all with embedded + folder.jpg)\n- Tagging Log: .aiwg\u002Fmedia\u002Ftagging\u002FPink Floyd-tagging.log\n```\n\n**Subphase 4b: Verification**\n\n**Command:** `\u002Fverify-archive \u003Ccollection_path>`\n\n**Purpose:** Generate checksums and provenance records for archival integrity.\n\n**Inputs:**\n- Collection directory path\n\n**Outputs:**\n- `SHA256SUMS` per album directory\n- `PROVENANCE.jsonld` per album directory\n- `.aiwg\u002Fmedia\u002Fverification\u002F\u003Cartist>-verification.log`: Verification log\n\n**Checksum Generation:**\n```bash\ncd \"$album_dir\"\nfind . -type f -not -name \"SHA256SUMS\" -exec sha256sum {} \\; > SHA256SUMS\n```\n\n**Provenance Record (W3C PROV):**\n```json\n{\n  \"@context\": \"https:\u002F\u002Fwww.w3.org\u002Fns\u002Fprov\",\n  \"entity\": \"urn:aiwg:media:album:{mbid}\",\n  \"wasGeneratedBy\": {\n    \"activity\": \"urn:aiwg:activity:curation:{timestamp}\",\n    \"time\": \"{iso8601_timestamp}\",\n    \"wasAssociatedWith\": \"urn:aiwg:agent:media-curator\"\n  },\n  \"wasDerivedFrom\": [\n    {\n      \"entity\": \"{source_url}\",\n      \"type\": \"download\",\n      \"time\": \"{acquisition_date}\"\n    }\n  ]\n}\n```\n\n**Success Criteria:**\n- Checksums generated for all files\n- Provenance records created per album\n\n**Example Output:**\n```\nVerification Complete: Pink Floyd\n- Checksums: 14 SHA256SUMS files (201 total hashes)\n- Provenance: 14 PROVENANCE.jsonld files\n- Verification Log: .aiwg\u002Fmedia\u002Fverification\u002FPink Floyd-verification.log\n```\n\n### Phase 5: Completeness Analysis\n\n**Command:** `\u002Fcheck-completeness \u003Ccollection_path>`\n\n**Purpose:** Compare collection against canonical discography, identify gaps.\n\n**Inputs:**\n- Collection directory path\n- Canonical discography from Phase 1\n\n**Outputs:**\n- `.aiwg\u002Fmedia\u002Freports\u002F\u003Cartist>-completeness.md`: Gap report\n\n**Comparison Logic:**\n1. Load canonical discography\n2. Scan collection directory\n3. Match albums by name, year, MusicBrainz ID\n4. Identify missing albums, missing tracks, format gaps\n\n**Gap Categories:**\n- **Missing Albums**: In canonical discography but not in collection\n- **Partial Albums**: Some tracks missing\n- **Format Gaps**: Lossy format where lossless exists\n- **Metadata Gaps**: Missing tags or artwork\n\n**Success Criteria:**\n- Gap report generated\n- Completeness percentage calculated\n\n**Example Output:**\n```\nCompleteness Report: Pink Floyd\n- Albums: 14\u002F16 (87.5%)\n- Missing Albums: 2 (The Division Bell, The Endless River)\n- Partial Albums: 0\n- Format Gaps: 0\n- Metadata Gaps: 0\n- Report: .aiwg\u002Fmedia\u002Freports\u002FPink Floyd-completeness.md\n```\n\n### Phase 6: Export (Optional)\n\n**Command:** `\u002Fexport --profile \u003Cprofile> \u003Ccollection_path> \u003Coutput_path>`\n\n**Purpose:** Transform collection to platform-specific format.\n\n**Inputs:**\n- Profile (plex, jellyfin, mpd, mobile, archival)\n- Collection directory path\n- Output directory path\n\n**Outputs:**\n- Platform-specific directory structure\n- Transcoded files (if needed)\n- Platform-specific metadata files (NFO, checksums, etc.)\n\n**Success Criteria:**\n- All files exported to target directory\n- Directory structure matches profile specification\n- Metadata formatted for target platform\n\n**Example Output:**\n```\nExport Complete: Plex Profile\n- Source: ~\u002FMusic\u002FCurated\u002FPink Floyd\n- Destination: \u002Fmedia\u002Fplex\u002FMusic\u002FPink Floyd\n- Albums Exported: 14\n- Total Size: 4.2 GB\n- Transcoded: 0 (all FLAC, compatible with Plex)\n```\n\n## Progress Reporting\n\nAfter each phase, report:\n\n1. **Phase Name** and status (Complete\u002FFailed\u002FPartial)\n2. **Key Metrics** (albums found, files downloaded, tags applied, etc.)\n3. **Output Artifacts** (file paths to generated reports, logs, collections)\n4. **Next Steps** (what the next phase will do)\n\n**Example:**\n\n```\nPhase 2: Discovery - COMPLETE\n\nKey Metrics:\n- Albums Found: 16\u002F16\n- Total Sources: 127\n- Sources Meeting Threshold (0.8): 89\n\nOutput Artifacts:\n- Source Rankings: .aiwg\u002Fmedia\u002Fsources\u002FPink Floyd-sources.json\n\nNext Steps:\n- Phase 3 will download the top-ranked source for each album\n- Quality threshold 0.8 ensures lossless or high-bitrate formats\n- Estimated download size: ~4-5 GB\n```\n\n## Examples\n\n### Full Orchestration (Complete Discography)\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope complete --quality 0.8 --output ~\u002FMusic\u002FCurated --export plex\n```\n\n**What happens:**\n1. Analyze Pink Floyd's full discography\n2. Find sources for all albums (quality threshold 0.8)\n3. Download top-ranked sources\n4. Tag with complete metadata and artwork\n5. Verify with checksums and provenance\n6. Check completeness against canonical discography\n7. Export to Plex format at `\u002Fmedia\u002Fplex\u002FMusic`\n\n**Output:**\n```\nCuration Complete: Pink Floyd\n\nPhase 1 (Analysis): 16 studio albums, 3 eras identified\nPhase 2 (Discovery): 127 sources found, 89 meeting threshold\nPhase 3 (Acquisition): 14\u002F16 albums downloaded (2 unavailable at 0.8)\nPhase 4 (Curation): 187 files tagged, 14 albums verified\nPhase 5 (Completeness): 87.5% complete (2 albums missing)\nPhase 6 (Export): 14 albums exported to Plex\n\nCollection Path: ~\u002FMusic\u002FCurated\u002FPink Floyd\nExport Path: \u002Fmedia\u002Fplex\u002FMusic\u002FPink Floyd\nCompleteness Report: .aiwg\u002Fmedia\u002Freports\u002FPink Floyd-completeness.md\n```\n\n### Targeted Era Curation\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope \"era:Classic Progressive (1973-1979)\" --quality 0.9\n```\n\n**What happens:**\n1. Analyze Pink Floyd discography, filter to Classic Progressive era\n2. Find sources for albums in that era only\n3. Download with audiophile quality threshold (0.9)\n4. Tag and verify\n5. Check completeness for era only\n6. No export (not specified)\n\n**Output:**\n```\nCuration Complete: Pink Floyd (Classic Progressive Era)\n\nPhase 1 (Analysis): 4 albums in era (DSOTM, WYWH, Animals, The Wall)\nPhase 2 (Discovery): 37 sources found, 31 meeting threshold\nPhase 3 (Acquisition): 4\u002F4 albums downloaded\nPhase 4 (Curation): 53 files tagged, 4 albums verified\nPhase 5 (Completeness): 100% complete for era\n\nCollection Path: ~\u002FMusic\u002FCurated\u002FPink Floyd\u002FClassic Progressive\n```\n\n### Style-Based Curation\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope \"style:Psychedelic Rock\" --quality 0.7\n```\n\n**What happens:**\n1. Analyze Pink Floyd discography, filter to Psychedelic Rock albums\n2. Find sources for those albums\n3. Download with standard quality threshold (0.7)\n4. Tag and verify\n5. Check completeness for style only\n\n**Output:**\n```\nCuration Complete: Pink Floyd (Psychedelic Rock)\n\nPhase 1 (Analysis): 3 albums (The Piper at the Gates of Dawn, A Saucerful of Secrets, Ummagumma)\nPhase 2 (Discovery): 24 sources found, 18 meeting threshold\nPhase 3 (Acquisition): 3\u002F3 albums downloaded\nPhase 4 (Curation): 31 files tagged, 3 albums verified\nPhase 5 (Completeness): 100% complete for style\n\nCollection Path: ~\u002FMusic\u002FCurated\u002FPink Floyd\u002FPsychedelic Rock\n```\n\n### Dry Run (Simulation)\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope complete --quality 0.8 --dry-run\n```\n\n**What happens:**\n1. All phases execute in simulation mode\n2. No downloads occur\n3. No files are modified\n4. Reports generated showing what WOULD happen\n\n**Output:**\n```\nDry Run Complete: Pink Floyd\n\nPhase 1 (Analysis): SIMULATED - 16 albums identified\nPhase 2 (Discovery): SIMULATED - 127 sources found\nPhase 3 (Acquisition): SIMULATED - Would download 14 albums (~4.2 GB)\nPhase 4 (Curation): SIMULATED - Would tag 187 files\nPhase 5 (Completeness): SIMULATED - Would achieve 87.5% completeness\nPhase 6 (Export): SKIPPED (not requested)\n\nNo files were downloaded or modified.\nSimulation Report: .aiwg\u002Fmedia\u002Freports\u002FPink Floyd-dry-run.md\n```\n\n### Resume Previous Session\n\n```bash\n\u002Fcurate \"Pink Floyd\" --resume\n```\n\n**What happens:**\n1. Load session state from `.aiwg\u002Fmedia\u002Fsessions\u002F\u003Cartist>-session.json`\n2. Skip completed phases\n3. Resume from last incomplete phase\n4. Continue to completion\n\n**Output:**\n```\nResuming Session: Pink Floyd\n\nSession State: .aiwg\u002Fmedia\u002Fsessions\u002FPink Floyd-session.json\nCompleted Phases: 1, 2, 3, 4a\nResuming from: Phase 4b (Verification)\n\nPhase 4b (Verification): 14 albums verified\nPhase 5 (Completeness): 87.5% complete\nPhase 6 (Export): SKIPPED (not requested in original session)\n\nSession Complete.\n```\n\n## Error Handling\n\n### Phase Failures\n\nIf a phase fails:\n1. Log error details to `.aiwg\u002Fmedia\u002Ferrors\u002F\u003Cartist>-errors.log`\n2. Save session state (completed phases, partial progress)\n3. Report failure to user with recovery options\n4. Offer `--resume` to continue from last successful phase\n\n### Partial Success\n\nIf some albums succeed but others fail:\n1. Continue with successful albums\n2. Report partial success with failure details\n3. Generate completeness report showing gaps\n4. Suggest manual intervention for failed albums\n\n### Quality Threshold Not Met\n\nIf no sources meet quality threshold:\n1. Report missing albums\n2. Suggest lowering threshold\n3. Offer to search additional sources\n4. Continue with available albums\n\n## Session State Persistence\n\nSession state saved to `.aiwg\u002Fmedia\u002Fsessions\u002F\u003Cartist>-session.json`:\n\n```json\n{\n  \"artist\": \"Pink Floyd\",\n  \"scope\": \"complete\",\n  \"quality_threshold\": 0.8,\n  \"output_dir\": \"~\u002FMusic\u002FCurated\u002FPink Floyd\",\n  \"export_profile\": \"plex\",\n  \"start_time\": \"2026-02-14T10:30:00Z\",\n  \"phases\": {\n    \"analysis\": \"complete\",\n    \"discovery\": \"complete\",\n    \"acquisition\": \"complete\",\n    \"tagging\": \"complete\",\n    \"verification\": \"in_progress\",\n    \"completeness\": \"pending\",\n    \"export\": \"pending\"\n  },\n  \"progress\": {\n    \"albums_analyzed\": 16,\n    \"sources_found\": 127,\n    \"albums_downloaded\": 14,\n    \"files_tagged\": 187,\n    \"albums_verified\": 8\n  }\n}\n```\n\n## Performance Considerations\n\n- **Parallel Downloads**: Use GNU parallel for multi-source acquisition\n- **Caching**: Cache MusicBrainz and Discogs API responses\n- **Incremental Progress**: Save state after each phase\n- **Resource Limits**: Respect API rate limits, bandwidth constraints\n- **Disk Space**: Check available space before downloading\n\n## Quality Assurance\n\nEach phase validates outputs before proceeding:\n- Analysis: Canonical discography has MusicBrainz IDs\n- Discovery: Source rankings are non-empty\n- Acquisition: Downloaded files are valid and complete\n- Tagging: All files have required metadata\n- Verification: Checksums and provenance records exist\n- Completeness: Gap report generated\n- Export: Output directory structure is valid\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Seek explicit authorization before irreversible curation actions (overwrites, deletions)\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fsubagent-scoping.md — Orchestration skill that delegates to focused subagents per phase\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fmedia-curator\u002Fskills\u002Fanalyze-artist\u002FSKILL.md — Artist analysis phase entry point\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fmedia-curator\u002Fskills\u002Facquire\u002FSKILL.md — Acquisition phase orchestrated by curate\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fmedia-curator\u002Fskills\u002Fverify-archive\u002FSKILL.md — Verification phase orchestrated by curate\n","# Curate Media Collection\n\nMain orchestration entry point for end-to-end media curation. It first assesses\nthe requested collection type and available examples, then chooses the right\nworkflow: artist discography curation, video\u002Faudio acquisition and transcript\nhandoff, archive verification, metadata tagging, or a narrow custom tooling plan\nfor unsupported asset types.\n\n## Triggers\n\n- \"curate arbitrary media collection\"\n- \"assess unsupported media type\"\n- \"plan mixed media archive\"\n- \"curate media collection\"\n- \"build media curation plan\"\n\n## Purpose\n\nMedia curation is a multi-phase workflow requiring coordination across\nassessment, discovery, acquisition, metadata tagging, transcription when\nrelevant, verification, provenance, and export. This command orchestrates the\nfull pipeline, managing dependencies between phases and ensuring quality at\neach step.\n\n## Type-Flexible Intake\n\nDo not assume every request is an artist\u002Fmusic collection. Inspect:\n- user intent and desired output\n- available examples, filenames, metadata, source URLs, and licenses\n- target asset types and expected consumers\n- existing libraries\u002Ftools for the asset type\n\nIf the framework has specialized handling, use it. If it does not, produce a\nconcrete assess-and-plan result, collect safe provenance\u002Fsource\u002Flicense\u002Ffixity\nmetadata, and identify the narrow reusable tool or plugin needed next. Existing\naudio\u002Fmusic workflows remain valid specialized paths.\n\n## Parameters\n\n### Required\n\n**`\u003Cartist>`** - Artist name to curate. Quoted if contains spaces.\n\nExample: `\"Pink Floyd\"`\n\n### Optional\n\n**`--scope \u003Ccomplete|era:NAME|style:NAME>`** - Curation scope.\n\n- `complete`: Full discography (all albums, all eras)\n- `era:NAME`: Specific era only (e.g., `era:Classic Rock Era (1968-1979)`)\n- `style:NAME`: Specific style only (e.g., `style:Progressive Rock`)\n\nDefault: `complete`\n\n**`--output \u003Cdir>`** - Output directory for curated collection.\n\nDefault: `~\u002FMusic\u002FCurated\u002F\u003Cartist>`\n\n**`--quality \u003Cthreshold>`** - Minimum quality score (0.0-1.0).\n\n- 0.9-1.0: Audiophile (lossless, verified sources, complete metadata)\n- 0.7-0.89: High quality (lossless or high-bitrate lossy, good metadata)\n- 0.5-0.69: Standard quality (acceptable lossy formats, basic metadata)\n- Below 0.5: Low quality (rejected unless explicitly allowed)\n\nDefault: `0.7`\n\n**`--export \u003Cprofile>`** - Export to platform-specific format after curation.\n\nOptions: `plex`, `jellyfin`, `mpd`, `mobile`, `archival`\n\nDefault: None (no export)\n\n**`--dry-run`** - Simulate workflow without downloading or modifying files.\n\n**`--resume`** - Resume previous incomplete curation session.\n\n## Orchestration Flow\n\n```\n\u002Fcurate \"Pink Floyd\" --scope complete --quality 0.8 --export plex\n\nPhase 1: Analysis\n├── \u002Fanalyze-artist \"Pink Floyd\"\n├── Output: Era breakdown, style classification, album list\n└── Status: 16 studio albums, 3 eras identified\n\nPhase 2: Discovery\n├── \u002Ffind-sources \"Pink Floyd\" --scope complete --quality 0.8\n├── Searches: MusicBrainz, Archive.org, Discogs, Bandcamp, label sites\n├── Output: Ranked source list per album\n└── Status: 127 sources found across 16 albums\n\nPhase 3: Acquisition\n├── \u002Facquire \"Pink Floyd\" --quality 0.8\n├── Downloads: Top-ranked sources meeting quality threshold\n├── Validates: Format, bitrate, checksums\n├── Output: Downloaded files in output directory\n└── Status: 14\u002F16 albums acquired (2 unavailable at threshold)\n\nPhase 4: Curation\n├── \u002Ftag-collection ~\u002FMusic\u002FCurated\u002FPink\\ Floyd\n├── Metadata: Artist, album, track, year, genre, artwork\n├── Artwork: Embedded + folder.jpg per album\n├── Output: Fully tagged collection\n└── \u002Fverify-archive ~\u002FMusic\u002FCurated\u002FPink\\ Floyd\n    ├── Checksums: SHA-256 per file\n    ├── Provenance: PROVENANCE.jsonld per album\n    ├── Output: SHA256SUMS, PROVENANCE.jsonld\n    └── Status: All files verified, provenance recorded\n\nPhase 5: Completeness Analysis\n├── \u002Fcheck-completeness ~\u002FMusic\u002FCurated\u002FPink\\ Floyd\n├── Compares: Collection against canonical discography\n├── Output: Gap report (missing albums, tracks, formats)\n└── Status: 87.5% complete (2 albums missing)\n\nPhase 6: Export (Optional)\n├── \u002Fexport --profile plex ~\u002FMusic\u002FCurated\u002FPink\\ Floyd \u002Fmedia\u002Fplex\u002FMusic\n├── Transcodes: As needed per profile\n├── Structure: Artist\u002FAlbum (Year)\u002FTrack - Title.ext\n├── Metadata: Embedded + folder.jpg\n└── Status: 14 albums exported to Plex\n```\n\n## Phase Details\n\n### Phase 1: Analysis\n\n**Command:** `\u002Fanalyze-artist \"\u003Cartist>\"`\n\n**Purpose:** Understand artist's discography structure, eras, styles, and canonical album list.\n\n**Inputs:**\n- Artist name\n\n**Outputs:**\n- `.aiwg\u002Fmedia\u002Fanalysis\u002F\u003Cartist>.md`: Era breakdown, style classification\n- `.aiwg\u002Fmedia\u002Fdiscography\u002F\u003Cartist>.json`: Canonical album list with MusicBrainz IDs\n\n**Success Criteria:**\n- All studio albums identified\n- Eras defined with year ranges\n- Styles classified per album\n\n**Example Output:**\n```\nPink Floyd Analysis Complete\n- Studio Albums: 16\n- Eras: 3 (Psychedelic, Classic Progressive, Post-Waters)\n- Styles: Progressive Rock, Psychedelic Rock, Art Rock\n- Canonical Discography: .aiwg\u002Fmedia\u002Fdiscography\u002FPink Floyd.json\n```\n\n### Phase 2: Discovery\n\n**Command:** `\u002Ffind-sources \"\u003Cartist>\" --scope \u003Cscope> --quality \u003Cthreshold>`\n\n**Purpose:** Search multiple sources, rank by quality, filter by threshold.\n\n**Inputs:**\n- Artist name\n- Scope (complete\u002Fera\u002Fstyle)\n- Quality threshold\n\n**Outputs:**\n- `.aiwg\u002Fmedia\u002Fsources\u002F\u003Cartist>-sources.json`: Ranked source list per album\n\n**Search Sources:**\n1. MusicBrainz (authoritative metadata)\n2. Archive.org (public domain, live recordings)\n3. Bandcamp (artist-direct, high quality)\n4. Discogs (marketplace, quality varies)\n5. Label websites (official, often highest quality)\n\n**Ranking Criteria:**\n- Format (FLAC > WAV > ALAC > Opus > MP3)\n- Bitrate (higher is better for lossy)\n- Source reputation (artist-direct > label > verified uploader > unknown)\n- Metadata completeness (full tags > partial > missing)\n- Artwork availability (embedded + high-res > embedded only > missing)\n\n**Success Criteria:**\n- At least one source per album meeting quality threshold\n- Sources ranked by quality score\n\n**Example Output:**\n```\nDiscovery Complete: Pink Floyd\n- Albums Found: 16\u002F16\n- Total Sources: 127\n- Sources Meeting Threshold (0.8): 89\n- Top Sources: .aiwg\u002Fmedia\u002Fsources\u002FPink Floyd-sources.json\n```\n\n### Phase 3: Acquisition\n\n**Command:** `\u002Facquire \"\u003Cartist>\" --quality \u003Cthreshold>`\n\n**Purpose:** Download top-ranked sources, validate quality, organize files.\n\n**Inputs:**\n- Artist name\n- Quality threshold\n- Source rankings from Phase 2\n\n**Outputs:**\n- Downloaded files in `\u003Coutput_dir>\u002F\u003Cartist>\u002F\u003Calbum>\u002F`\n- `.aiwg\u002Fmedia\u002Fdownloads\u002F\u003Cartist>-acquisition.log`: Download log\n\n**Download Strategy:**\n1. Select top-ranked source per album\n2. Download to temporary location\n3. Validate format, bitrate, checksums\n4. Move to output directory if valid\n5. Retry with next-ranked source on failure\n\n**Validation:**\n- Format check: `ffprobe` confirms declared format\n- Bitrate check: Meets minimum for quality threshold\n- Checksum: If provided by source, verify SHA-256\n- File integrity: No corruption, complete download\n\n**Success Criteria:**\n- Files downloaded and validated\n- Organized in `\u003Cartist>\u002F\u003Calbum>\u002F` structure\n- Acquisition log records sources and timestamps\n\n**Example Output:**\n```\nAcquisition Complete: Pink Floyd\n- Albums Acquired: 14\u002F16\n- Total Files: 187 tracks, 14 cover images\n- Total Size: 4.2 GB\n- Failed: 2 albums (no sources meeting threshold 0.8)\n- Download Log: .aiwg\u002Fmedia\u002Fdownloads\u002FPink Floyd-acquisition.log\n```\n\n### Phase 4: Curation\n\n**Subphase 4a: Tagging**\n\n**Command:** `\u002Ftag-collection \u003Ccollection_path>`\n\n**Purpose:** Embed complete metadata and artwork into all files.\n\n**Inputs:**\n- Collection directory path\n- Canonical discography from Phase 1\n\n**Outputs:**\n- Tagged audio files (metadata embedded)\n- `folder.jpg` per album directory\n- `.aiwg\u002Fmedia\u002Ftagging\u002F\u003Cartist>-tagging.log`: Tagging log\n\n**Metadata Sources:**\n1. MusicBrainz (authoritative)\n2. Discogs (supplementary)\n3. Embedded tags (if already present)\n\n**Tags Applied:**\n- Artist, Album Artist, Album, Track Title, Track Number\n- Year, Date, Genre, Style\n- MusicBrainz IDs (release, recording, artist)\n- Label, Catalog Number\n\n**Artwork Handling:**\n- Extract embedded artwork if present\n- Search for high-resolution artwork if missing\n- Resize to 1500x1500 maximum\n- Embed into audio files\n- Save as `folder.jpg` in album directory\n\n**Success Criteria:**\n- All files have complete metadata\n- All albums have artwork (embedded + folder.jpg)\n\n**Example Output:**\n```\nTagging Complete: Pink Floyd\n- Files Tagged: 187\u002F187\n- Metadata Sources: MusicBrainz (primary), Discogs (supplementary)\n- Artwork: 14 albums (all with embedded + folder.jpg)\n- Tagging Log: .aiwg\u002Fmedia\u002Ftagging\u002FPink Floyd-tagging.log\n```\n\n**Subphase 4b: Verification**\n\n**Command:** `\u002Fverify-archive \u003Ccollection_path>`\n\n**Purpose:** Generate checksums and provenance records for archival integrity.\n\n**Inputs:**\n- Collection directory path\n\n**Outputs:**\n- `SHA256SUMS` per album directory\n- `PROVENANCE.jsonld` per album directory\n- `.aiwg\u002Fmedia\u002Fverification\u002F\u003Cartist>-verification.log`: Verification log\n\n**Checksum Generation:**\n```bash\ncd \"$album_dir\"\nfind . -type f -not -name \"SHA256SUMS\" -exec sha256sum {} \\; > SHA256SUMS\n```\n\n**Provenance Record (W3C PROV):**\n```json\n{\n  \"@context\": \"https:\u002F\u002Fwww.w3.org\u002Fns\u002Fprov\",\n  \"entity\": \"urn:aiwg:media:album:{mbid}\",\n  \"wasGeneratedBy\": {\n    \"activity\": \"urn:aiwg:activity:curation:{timestamp}\",\n    \"time\": \"{iso8601_timestamp}\",\n    \"wasAssociatedWith\": \"urn:aiwg:agent:media-curator\"\n  },\n  \"wasDerivedFrom\": [\n    {\n      \"entity\": \"{source_url}\",\n      \"type\": \"download\",\n      \"time\": \"{acquisition_date}\"\n    }\n  ]\n}\n```\n\n**Success Criteria:**\n- Checksums generated for all files\n- Provenance records created per album\n\n**Example Output:**\n```\nVerification Complete: Pink Floyd\n- Checksums: 14 SHA256SUMS files (201 total hashes)\n- Provenance: 14 PROVENANCE.jsonld files\n- Verification Log: .aiwg\u002Fmedia\u002Fverification\u002FPink Floyd-verification.log\n```\n\n### Phase 5: Completeness Analysis\n\n**Command:** `\u002Fcheck-completeness \u003Ccollection_path>`\n\n**Purpose:** Compare collection against canonical discography, identify gaps.\n\n**Inputs:**\n- Collection directory path\n- Canonical discography from Phase 1\n\n**Outputs:**\n- `.aiwg\u002Fmedia\u002Freports\u002F\u003Cartist>-completeness.md`: Gap report\n\n**Comparison Logic:**\n1. Load canonical discography\n2. Scan collection directory\n3. Match albums by name, year, MusicBrainz ID\n4. Identify missing albums, missing tracks, format gaps\n\n**Gap Categories:**\n- **Missing Albums**: In canonical discography but not in collection\n- **Partial Albums**: Some tracks missing\n- **Format Gaps**: Lossy format where lossless exists\n- **Metadata Gaps**: Missing tags or artwork\n\n**Success Criteria:**\n- Gap report generated\n- Completeness percentage calculated\n\n**Example Output:**\n```\nCompleteness Report: Pink Floyd\n- Albums: 14\u002F16 (87.5%)\n- Missing Albums: 2 (The Division Bell, The Endless River)\n- Partial Albums: 0\n- Format Gaps: 0\n- Metadata Gaps: 0\n- Report: .aiwg\u002Fmedia\u002Freports\u002FPink Floyd-completeness.md\n```\n\n### Phase 6: Export (Optional)\n\n**Command:** `\u002Fexport --profile \u003Cprofile> \u003Ccollection_path> \u003Coutput_path>`\n\n**Purpose:** Transform collection to platform-specific format.\n\n**Inputs:**\n- Profile (plex, jellyfin, mpd, mobile, archival)\n- Collection directory path\n- Output directory path\n\n**Outputs:**\n- Platform-specific directory structure\n- Transcoded files (if needed)\n- Platform-specific metadata files (NFO, checksums, etc.)\n\n**Success Criteria:**\n- All files exported to target directory\n- Directory structure matches profile specification\n- Metadata formatted for target platform\n\n**Example Output:**\n```\nExport Complete: Plex Profile\n- Source: ~\u002FMusic\u002FCurated\u002FPink Floyd\n- Destination: \u002Fmedia\u002Fplex\u002FMusic\u002FPink Floyd\n- Albums Exported: 14\n- Total Size: 4.2 GB\n- Transcoded: 0 (all FLAC, compatible with Plex)\n```\n\n## Progress Reporting\n\nAfter each phase, report:\n\n1. **Phase Name** and status (Complete\u002FFailed\u002FPartial)\n2. **Key Metrics** (albums found, files downloaded, tags applied, etc.)\n3. **Output Artifacts** (file paths to generated reports, logs, collections)\n4. **Next Steps** (what the next phase will do)\n\n**Example:**\n\n```\nPhase 2: Discovery - COMPLETE\n\nKey Metrics:\n- Albums Found: 16\u002F16\n- Total Sources: 127\n- Sources Meeting Threshold (0.8): 89\n\nOutput Artifacts:\n- Source Rankings: .aiwg\u002Fmedia\u002Fsources\u002FPink Floyd-sources.json\n\nNext Steps:\n- Phase 3 will download the top-ranked source for each album\n- Quality threshold 0.8 ensures lossless or high-bitrate formats\n- Estimated download size: ~4-5 GB\n```\n\n## Examples\n\n### Full Orchestration (Complete Discography)\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope complete --quality 0.8 --output ~\u002FMusic\u002FCurated --export plex\n```\n\n**What happens:**\n1. Analyze Pink Floyd's full discography\n2. Find sources for all albums (quality threshold 0.8)\n3. Download top-ranked sources\n4. Tag with complete metadata and artwork\n5. Verify with checksums and provenance\n6. Check completeness against canonical discography\n7. Export to Plex format at `\u002Fmedia\u002Fplex\u002FMusic`\n\n**Output:**\n```\nCuration Complete: Pink Floyd\n\nPhase 1 (Analysis): 16 studio albums, 3 eras identified\nPhase 2 (Discovery): 127 sources found, 89 meeting threshold\nPhase 3 (Acquisition): 14\u002F16 albums downloaded (2 unavailable at 0.8)\nPhase 4 (Curation): 187 files tagged, 14 albums verified\nPhase 5 (Completeness): 87.5% complete (2 albums missing)\nPhase 6 (Export): 14 albums exported to Plex\n\nCollection Path: ~\u002FMusic\u002FCurated\u002FPink Floyd\nExport Path: \u002Fmedia\u002Fplex\u002FMusic\u002FPink Floyd\nCompleteness Report: .aiwg\u002Fmedia\u002Freports\u002FPink Floyd-completeness.md\n```\n\n### Targeted Era Curation\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope \"era:Classic Progressive (1973-1979)\" --quality 0.9\n```\n\n**What happens:**\n1. Analyze Pink Floyd discography, filter to Classic Progressive era\n2. Find sources for albums in that era only\n3. Download with audiophile quality threshold (0.9)\n4. Tag and verify\n5. Check completeness for era only\n6. No export (not specified)\n\n**Output:**\n```\nCuration Complete: Pink Floyd (Classic Progressive Era)\n\nPhase 1 (Analysis): 4 albums in era (DSOTM, WYWH, Animals, The Wall)\nPhase 2 (Discovery): 37 sources found, 31 meeting threshold\nPhase 3 (Acquisition): 4\u002F4 albums downloaded\nPhase 4 (Curation): 53 files tagged, 4 albums verified\nPhase 5 (Completeness): 100% complete for era\n\nCollection Path: ~\u002FMusic\u002FCurated\u002FPink Floyd\u002FClassic Progressive\n```\n\n### Style-Based Curation\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope \"style:Psychedelic Rock\" --quality 0.7\n```\n\n**What happens:**\n1. Analyze Pink Floyd discography, filter to Psychedelic Rock albums\n2. Find sources for those albums\n3. Download with standard quality threshold (0.7)\n4. Tag and verify\n5. Check completeness for style only\n\n**Output:**\n```\nCuration Complete: Pink Floyd (Psychedelic Rock)\n\nPhase 1 (Analysis): 3 albums (The Piper at the Gates of Dawn, A Saucerful of Secrets, Ummagumma)\nPhase 2 (Discovery): 24 sources found, 18 meeting threshold\nPhase 3 (Acquisition): 3\u002F3 albums downloaded\nPhase 4 (Curation): 31 files tagged, 3 albums verified\nPhase 5 (Completeness): 100% complete for style\n\nCollection Path: ~\u002FMusic\u002FCurated\u002FPink Floyd\u002FPsychedelic Rock\n```\n\n### Dry Run (Simulation)\n\n```bash\n\u002Fcurate \"Pink Floyd\" --scope complete --quality 0.8 --dry-run\n```\n\n**What happens:**\n1. All phases execute in simulation mode\n2. No downloads occur\n3. No files are modified\n4. Reports generated showing what WOULD happen\n\n**Output:**\n```\nDry Run Complete: Pink Floyd\n\nPhase 1 (Analysis): SIMULATED - 16 albums identified\nPhase 2 (Discovery): SIMULATED - 127 sources found\nPhase 3 (Acquisition): SIMULATED - Would download 14 albums (~4.2 GB)\nPhase 4 (Curation): SIMULATED - Would tag 187 files\nPhase 5 (Completeness): SIMULATED - Would achieve 87.5% completeness\nPhase 6 (Export): SKIPPED (not requested)\n\nNo files were downloaded or modified.\nSimulation Report: .aiwg\u002Fmedia\u002Freports\u002FPink Floyd-dry-run.md\n```\n\n### Resume Previous Session\n\n```bash\n\u002Fcurate \"Pink Floyd\" --resume\n```\n\n**What happens:**\n1. Load session state from `.aiwg\u002Fmedia\u002Fsessions\u002F\u003Cartist>-session.json`\n2. Skip completed phases\n3. Resume from last incomplete phase\n4. Continue to completion\n\n**Output:**\n```\nResuming Session: Pink Floyd\n\nSession State: .aiwg\u002Fmedia\u002Fsessions\u002FPink Floyd-session.json\nCompleted Phases: 1, 2, 3, 4a\nResuming from: Phase 4b (Verification)\n\nPhase 4b (Verification): 14 albums verified\nPhase 5 (Completeness): 87.5% complete\nPhase 6 (Export): SKIPPED (not requested in original session)\n\nSession Complete.\n```\n\n## Error Handling\n\n### Phase Failures\n\nIf a phase fails:\n1. Log error details to `.aiwg\u002Fmedia\u002Ferrors\u002F\u003Cartist>-errors.log`\n2. Save session state (completed phases, partial progress)\n3. Report failure to user with recovery options\n4. Offer `--resume` to continue from last successful phase\n\n### Partial Success\n\nIf some albums succeed but others fail:\n1. Continue with successful albums\n2. Report partial success with failure details\n3. Generate completeness report showing gaps\n4. Suggest manual intervention for failed albums\n\n### Quality Threshold Not Met\n\nIf no sources meet quality threshold:\n1. Report missing albums\n2. Suggest lowering threshold\n3. Offer to search additional sources\n4. Continue with available albums\n\n## Session State Persistence\n\nSession state saved to `.aiwg\u002Fmedia\u002Fsessions\u002F\u003Cartist>-session.json`:\n\n```json\n{\n  \"artist\": \"Pink Floyd\",\n  \"scope\": \"complete\",\n  \"quality_threshold\": 0.8,\n  \"output_dir\": \"~\u002FMusic\u002FCurated\u002FPink Floyd\",\n  \"export_profile\": \"plex\",\n  \"start_time\": \"2026-02-14T10:30:00Z\",\n  \"phases\": {\n    \"analysis\": \"complete\",\n    \"discovery\": \"complete\",\n    \"acquisition\": \"complete\",\n    \"tagging\": \"complete\",\n    \"verification\": \"in_progress\",\n    \"completeness\": \"pending\",\n    \"export\": \"pending\"\n  },\n  \"progress\": {\n    \"albums_analyzed\": 16,\n    \"sources_found\": 127,\n    \"albums_downloaded\": 14,\n    \"files_tagged\": 187,\n    \"albums_verified\": 8\n  }\n}\n```\n\n## Performance Considerations\n\n- **Parallel Downloads**: Use GNU parallel for multi-source acquisition\n- **Caching**: Cache MusicBrainz and Discogs API responses\n- **Incremental Progress**: Save state after each phase\n- **Resource Limits**: Respect API rate limits, bandwidth constraints\n- **Disk Space**: Check available space before downloading\n\n## Quality Assurance\n\nEach phase validates outputs before proceeding:\n- Analysis: Canonical discography has MusicBrainz IDs\n- Discovery: Source rankings are non-empty\n- Acquisition: Downloaded files are valid and complete\n- Tagging: All files have required metadata\n- Verification: Checksums and provenance records exist\n- Completeness: Gap report generated\n- Export: Output directory structure is valid\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Seek explicit authorization before irreversible curation actions (overwrites, deletions)\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fsubagent-scoping.md — Orchestration skill that delegates to focused subagents per phase\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fmedia-curator\u002Fskills\u002Fanalyze-artist\u002FSKILL.md — Artist analysis phase entry point\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fmedia-curator\u002Fskills\u002Facquire\u002FSKILL.md — Acquisition phase orchestrated by curate\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fmedia-curator\u002Fskills\u002Fverify-archive\u002FSKILL.md — Verification phase orchestrated by curate\n",{"name":5,"triggers":61,"namespace":67,"platforms":68,"commandHint":70,"description":7,"userInvocable":75},[62,63,64,65,66],"curate arbitrary media collection","assess unsupported media type","plan mixed media archive","curate media collection","build media curation plan","aiwg",[69],"all",{"model":45,"category":71,"modelRole":37,"modelTier":72,"allowedTools":73,"argumentHint":74,"orchestration":75},"media-curator","economy","Bash, Read, Write, Glob, Grep, WebSearch, WebFetch, Task","\"\u003Ccollection-or-artist>\" [--scope complete|era:NAME|style:NAME|custom] [--output \u003Cdir>] [--quality \u003Cthreshold>] [--export \u003Cprofile>]",true,"main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fmedia-curator\u002Fskills\u002Fcurate",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":87,"prompt":97,"zipAvailable":75},[88,91,94],{"tool":89,"command":90},"npx","npx skills add jmagly\u002Faiwg --skill curate",{"tool":92,"command":93},"bunx","bunx skills add jmagly\u002Faiwg --skill curate",{"tool":95,"command":96},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill curate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fmedia-curator\u002Fskills\u002Fcurate\u002FSKILL.md",[],[100,108,113,136,153,158],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":109,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":107},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":17,"description":116,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":56},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[120,121,122,54,123,42,124,125,126,127,48,128,129,49,130,131,132,133,134,135],"hardening","host","host hardening","secrets","request","remediation","recommendations","audit","port","bind","access","only","retention","re","never","firewall",{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":56},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[143,144,51,145,146,41,42,147,128,134,49,148,121,149,131,150,36,135,151,152],"analysis","exposure analysis","reconstruction","operator","credentials","unknown","internet","local","ports","ufw",{"skillNo":154,"name":115,"nameZh":17,"description":116,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":56},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[120,121,122,133,134,135,129,132,126,123,42,124,125,127,48,128,54,49,130,131],{"skillNo":159,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":56},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[143,144,152,151,146,36,150,131,145,41,42,147,128,51,49,148,121,135,134,149]]