zero-yx/static_flow / skills/music-ingestion-publisher
music-ingestion-publisher
VerifiedIngest music into StaticFlow Music DB via ncmdump-rs CLI and sf-cli: search/download from Netease Cloud Music or Bilibili, decrypt local NCM files, extract metadata/lyrics/cover art, and publish to lancedb-music.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.2 KB |
| flows/bilibili.md | markdown | 3.0 KB |
| flows/common.md | markdown | 3.3 KB |
| flows/local.md | markdown | 896 B |
| flows/netease.md | markdown | 3.4 KB |
flows/local.md
View on GitHub# Local File Flows
## Flow B: NCM File Decrypt & Ingest
1. **Decrypt**: `ncmdump-cli dump <file.ncm> --output /tmp/music/`
- Produces mp3 or flac depending on original encoding.
2. **Ingest**:
```bash
sf-cli write-music \
--db-path /mnt/wsl/data4tb/static-flow-data/lancedb-music \
--file /tmp/music/<decoded_file> \
--source ncm_local
```
- Metadata (title, artist, album, duration) is auto-extracted
from ID3/Vorbis tags by lofty.
- If cover art is embedded, extract manually and update via
`sf-cli db update-rows`.
## Flow C: Local mp3/flac Direct Ingest
1. **Ingest**:
```bash
sf-cli write-music \
--db-path /mnt/wsl/data4tb/static-flow-data/lancedb-music \
--file <audio_file> \
--title "..." --artist "..." --album "..." --album-id "..."
```
2. **Update cover** if available (see `common.md` → Cover Image Update).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |