ops-ar

按需运营(OPS on-demand):在用户要求“对此曲目进行A&R评估”、“试听判定”或类似请求时使用此技能。

仓库最近推送
GitHub Stars
564
Forks
64
Issues / PRs
6

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ops-ar":https://skillpi.com/zh/skills/deepskill-5fe823742181887de11a58fba6435628a6e27191b0010582bd63665a5dfb7f95。安装前核对上游来源和版本:https://github.com/Lifecycle-Innovations-Limited/claude-ops。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

按需运营(OPS on-demand):在用户要求“对此曲目进行A&R评估”、“试听判定”或类似请求时使用此技能。

0 下载

介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: ops-ar
description: "OPS on-demand: This skill should be used when the user asks to \"A&R this track\", \"demo verdict\", or…"
argument-hint: '<audio file | URL/Dropbox | "latest" | <file1> <file2> ... | inbox [from <sender>...]>'
allowed-tools:
  - Bash
  - Read
  - Write
  - Grep
  - Glob
  - Agent
  - TeamCreate
  - SendMessage
  - AskUserQuestion
  - WebSearch
effort: high

/ops:ops-ar — A&R Command

Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).

A&R the given record(s) like a pop/dance-hit label owner + master producer. The deliverable is always the full A&R card per track:

VERDICT (hit/10 + sign / develop / pass) → WHAT'S WORKING → WHAT'S HOLDING IT BACK → THE PLAN (producer moves) → REFERENCE & POSITIONING → NEXT.

Configuration (templatable — no hardcoded personal data)

Setting Source Default
Audio analysis stack home $AUDIO_AR_HOME env or ar.stack_home in $PREFS_PATH ~/audio-ai
Python venv $AUDIO_AR_HOME/venv/bin/python —
Music.ai workflow slug $MUSICAI_WORKFLOW env or Doppler (required for Music.ai)
Cyanite / Music.ai / Soundcharts keys env / Doppler / ~/.mcp-secrets.env —
A&R taste profile (label lane, reference acts, tempo sweet spot) ar.profile in $PREFS_PATH dance-pop / feel-good house

The skill must read these at runtime — never hardcode user names, mailboxes, label names, or absolute /Users/... paths.

Taste profile injection (mandatory when ar.profile exists)

Before spawning any ar-producer agent, read the profile once:

PREFS="${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json"
jq '.ar.profile // empty' "$PREFS"

If non-empty, inject the whole JSON object verbatim into every ar-producer spawn prompt, with the instruction: "Judge as the A&R for THIS owner/label. Calibrate the verdict per verdict_calibration. Weigh hooks and toplines against songwriting_taste. REFERENCE & POSITIONING must position against catalog_recent, signature_classics, and label_roster_third_party — name the closest catalog comparison, not generic genre acts. Check tempo against tempo_sweet_spot and brand fit against lane. If signing_structure is present, the NEXT section of a sign/develop verdict must state which entity signs the master."

Fields the profile may carry (all optional): owner, label, lane, tempo_sweet_spot, ar_team, signing_structure, reference_acts, catalog_recent, signature_classics, label_roster_third_party, songwriting_taste, verdict_calibration. If the profile is absent, fall back to the generic dance-pop / feel-good house default and say so in the card header.

Imprint gate (mandatory when ar.imprints is non-empty)

Imprints are data, not code. Never hardcode an imprint's name, sound, or test — read them:

jq -r '.ar.imprints // {} | keys[]' "$PREFS"          # imprint keys
jq '.ar.imprints["<key>"]' "$PREFS"                   # one imprint

For each imprint whose lane the track falls in, inject that object verbatim into the ar-producer spawn prompt except brand_book_corpus (the full scraped brand-book text — too large for a spawn prompt; consult it only when a card needs exact brand-book language, via jq '.ar.imprints["<key>"].brand_book_corpus.pages | keys' then the specific page). Always inject sound_description — it is the imprint's sonic north star and the tiebreaker on the subjective points.

Add an IMPRINT section to the A&R card between VERDICT and WHAT'S WORKING: score the track against that imprint's own ten_point_test per its scoring_rule (one line per point, pass/fail/N-A, with the failing evidence named), then one routing line — eligible for <imprint display_name>, or route to parent label. An imprint is a strict subset of the label: a failed gate never downgrades the main verdict, it only routes the release. Owner's own tracks always get the scorecard; third-party demos get it only when they are in that imprint's lane.

Each imprint object may carry: display_name, lane, sound_description, ten_point_test, scoring_rule, brand_book_corpus. If ar.imprints is absent or empty, skip the IMPRINT section entirely — do not invent an imprint.

Modes

1. Single track — /ops:ops-ar <file|url|latest>

Spawn the ar-producer agent (Opus) with the track:

  • Local file → pass the path directly.
  • URL/Dropbox → agent downloads first (Dropbox: append &dl=1; YouTube: yt-dlp -x --audio-format mp3).
  • latest / empty → newest audio file (.mp3, .wav, .m4a, .aiff, .flac, .ogg, .aac) in ~/.claude/jobs/*/tmp/ by mtime — ignore JSON, PNG, and other non-audio artifacts.
  • Subagent MCP rule: the spawn prompt MUST name the audio-ar tools and include the literal instruction ToolSearch select:mcp__audio-ar__full_ar_report,mcp__audio-ar__analyze_track,mcp__audio-ar__mood_score,mcp__audio-ar__transcribe_vocals,mcp__audio-ar__separate_stems,mcp__audio-ar__render_visuals,mcp__audio-ar__analyze_stems,mcp__audio-ar__cyanite_analyze,mcp__audio-ar__musicai_analyze,mcp__audio-ar__soundcharts_lookup — subagents don't inherit MCP discovery.
  • Relay the agent's A&R card back verbatim.

2. Batch — /ops:ops-ar <file1> <file2> ... (or multiple URLs)

A&R multiple local paths or URLs in one invocation:

  1. Collect inputs — every argument after the skill name is a track (local file or URL/Dropbox). Download URLs first (same rules as single-track).
  2. Dedupe by md5 (same file copied under different names counts once).
  3. Analyze per track — spawn ar-producer (Opus) per deduped track, in waves of ≤2 (stem separation is CPU-heavy; check nproc/uptime first). Same subagent MCP rule as single-track mode (include the full ToolSearch select:mcp__audio-ar__... list). Relay each agent's full A&R card back verbatim.
  4. Summarize — compile a ranked verdict table from the per-track cards.

3. Inbox sweep — /ops:ops-ar inbox [from <sender> ...]

Pull every demo/song from the user's Gmail inbox and A&R them all:

  1. Find demos: gog gmail search 'has:attachment (filename:mp3 OR filename:wav OR filename:m4a OR filename:aiff OR filename:flac OR filename:ogg OR filename:aac)' (add from: filters if senders given). Confirm scope with the user if the set is large (>10 threads).
  2. Download attachments to disk without flooding context: per thread, gog gmail thread get <tid> -j → message ids from thread.messages[].id (envelope {downloaded, thread: {messages: [...]}} — NOT top-level messages) → gog gmail raw <mid> -j piped to jq for audio parts (filename + attachmentId) → gog gmail attachment <mid> <aid> --out <dir>/<label>__<file>. Also grep text parts for external links (postal.music, disco.ac, wetransfer, dropbox) — flag link-only demos that need a login as NOT ANALYZED and tell the user to request a file re-send.
  3. Dedupe by md5 (forwarded demos repeat across threads).
  4. Analyze per track — spawn ar-producer (Opus) per deduped demo, in waves of ≤2 (stem separation is CPU-heavy; check nproc/uptime first). Same subagent MCP rule as single-track mode (include the full ToolSearch select:mcp__audio-ar__... list). Relay each agent's full A&R card back verbatim.
  5. Summarize — compile a ranked verdict table from the per-track cards.

4. Email delivery — "send the verdict to my email"

House rule: every A&R email ALWAYS includes (a) a per-track DIRECT LISTEN LINK and (b) the FULL A&R card per track — never just the ranked summary.

  • DIRECT listen link (mandatory): a link that actually PLAYS the audio — any external streaming link found in the thread (postal.music, disco.ac, …), OR upload the demo to Google Drive (gog drive upload <file> → share → direct link). An email-thread link alone is NOT sufficient.
  • Also include the Gmail deep-link (gog gmail url <threadId>) — both direct + email link is ideal.
  • Rule 6 applies in full: stage the final draft, get explicit per-message approval, then send (one approval = one send).

Pro APIs (Cyanite / Music.ai / Soundcharts) — operational notes

  • Cyanite ($AUDIO_AR_HOME/venv/bin/python pro_apis.py cyanite <file>): returns genreTags, moodTags, bpmRangeAdjusted, era, voice gender, energyLevel, valence, arousal. Free/trial plans have a LIFETIME library cap — deleting tracks does NOT free quota. On librarySizeLimitExceededError, route through Music.ai instead.
  • Music.ai (pro_apis.py musicai <file>, needs $MUSICAI_WORKFLOW, e.g. a "Metadata Suite" workflow): same Cyanite engine on separate billing + extras — ai_voice (Real vs AI-GENERATED — always flag AI guide vocals: they're placeholders needing a real singer), voice_gender, instruments. Implementation gotchas (already handled in pro_apis.py): requests need a browser User-Agent (Cloudflare 1010 blocks default python-urllib), and the upload-URL request must be a clean GET with no body. Convert .m4a to mp3 before upload.
  • Soundcharts (pro_apis.py soundcharts <query>): released-catalogue lookup only — useless for unreleased demos; use it for reference-track benchmarking in the REFERENCE section.

Interpretation guardrails (carry into every card)

  • Demo bounces are loud and dull on top — judge song/topline/lane, not the demo master.
  • Never infer missing verses / song incompleteness from a sparse Whisper transcript (low vocal in the bounce ≠ unwritten song).
  • librosa BPM can read doubled/halved — trust the pro-layer bpmRangeAdjusted when available; otherwise confirm by groove.
  • Verify hit-claims with data (CLAP commercial lean, valence/arousal), but the verdict is producer judgment, not a printout.

Fallback

If mcp__audio-ar__* is unavailable, run the stack directly via Bash from $AUDIO_AR_HOME (venv/bin/python analyze.py <file>, clap_score.py, transcribe.py, pro_apis.py). Never fabricate analysis — if nothing ran, say so.

Agent Teams support

If CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set, use Agent Teams when dispatching multiple ar-producer agents in batch or inbox-sweep mode. This enables:

  • Agents share partial findings in real time (e.g., one agent finds a stem issue → others adjust their verdict framing accordingly)
  • You can steer mid-sweep: "prioritize the demo from sender X first"
  • Progress is visible per track as agents report back

Team setup (only when flag is enabled, batch/inbox dispatch phase):

TeamCreate("ar-batch")
Agent(team_name="ar-batch", name="ar-[track-slug]", ...)

If the flag is NOT set, use standard parallel subagents (fire-and-forget, waves of ≤2).

版本历史

  1. v3.12.1 GitHub ↗
    原版更新说明

    ### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.

  2. v3.12.0 GitHub ↗
    原版更新说明

    ### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.

  3. v3.11.0 GitHub ↗
    原版更新说明

    ### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.

  4. v3.10.29 GitHub ↗
    原版更新说明

    ### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).

  5. v3.10.28 GitHub ↗
    原版更新说明

    ### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 面向音乐行业专业场景(A&R评估),解决唱片公司/制作人高频刚需
  • 支持单曲、批量、收件箱扫描、邮件交付等多种实用模式
  • 完整闭环:从音频输入到结构化评估报告输出
触发精准95/100

待提升项

  • description写错位置 原报告严重程度:轻微

    顶层 frontmatter 中 description 为空,实际描述内容在 skill_body 内部

    改进建议:将 description 内容移至顶层 frontmatter 字段

亮点

  • 触发词精准完整("A&R this track", "demo verdict")
  • argument-hint 清晰定义多种输入格式边界
  • 覆盖单曲、批量、收件箱等变体场景
结构规范94/100

待提升项

  • 缺少When to Use显式章节 原报告严重程度:轻微

    文档未设置显式 When to Use 章节,但 description 已覆盖核心用途

    改进建议:添加显式 When to Use 章节以提升可读性

  • 文档过长 原报告严重程度:轻微

    skill_body 内容约600行,超出理想长度

    改进建议:考虑将部分配置细节或API说明移至独立参考文档

亮点

  • Phase划分清晰(4种Mode),每步有明确出口条件
  • 包含端到端示例(inbox sweep命令链、子代理MCP声明)
  • 配置模板化,无硬编码个人数据,符合安全规范
执行可靠93/100

亮点

  • 工具来源明确,参数正确,覆盖主要异常(API限流fallback、资源检查)
  • 不可逆操作(邮件发送)有严格确认机制(draft→approval→send)
  • 子代理MCP工具显式声明,避免继承问题
  • 支持Agent Teams协同,提升批量处理可靠性
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。