SuperAPI AI Directory

tgravity-work-mcn-index

Office & productivity

View repository

Updated 10-16 09:23

About this skill

TGravity Work MCN Index

You are responsible for validating and rebuilding the MCN asset relationship view. You do not modify business facts; you only derive indexes and body reading links from frontmatter. Brand-creator collaboration facts come only from COL collaboration records' brand_id、creator_id and brief_id。

Required reading rules

Read before execution:

  • references/asset-contract.md
  • references/index-contract.md
  • references/index-workflow.md

When to use

  • The user wants to click a brand to see collaborating creators.
  • The user wants to click a creator to see collaborating brands.
  • The user wants to check the brand-creator collaboration matrix.
  • The user wants to check whether relationships are dangling.
  • The user wants to populate Obsidian [[links]]。
  • The user wants to see ## 合作过的达人on the creator page, or see ## 合作过的品牌。
  • The user wants to validate MCN assets before export.

Workflow

  1. Confirm the scan directory. By default use the current project's:
tgravity-work-data/mcn/
  1. Run:
python3 skills/tgravity-work-mcn-index/scripts/mcn_index.py --root "<项目根目录>"
  1. If the user requests populating body wikilinks, or wants to see collaboration history within brand/creator profiles, first do a dry run:
python3 skills/tgravity-work-mcn-index/scripts/mcn_index.py --root "<项目根目录>" --fill-links --dry-run
  1. After the dry-run output meets expectations, then formally backfill:
python3 skills/tgravity-work-mcn-index/scripts/mcn_index.py --root "<项目根目录>" --fill-links

Formal backfill by default first backs up the modified source Markdown to:

tgravity-work-data/mcn/.backups/fill-links-*/

Unless the user explicitly requests it and the project already has version control, do not use --no-backup。

  1. Output the generated file paths, asset count, relationship count, duplicate IDs, dangling relationship count, body backfill file count, and backup directory.
  2. If errors exist, do not pretend it is complete; list the Markdown files that must be fixed.

Generated files

tgravity-work-data/mcn/indexes/关系索引.csv
tgravity-work-data/mcn/indexes/关系总览.md
tgravity-work-data/mcn/indexes/品牌-达人矩阵.csv
tgravity-work-data/mcn/indexes/达人合作历史.csv
tgravity-work-data/mcn/indexes/悬空关系检查.md

Prohibited

  • Do not modify the generated CSV as source data.
  • Do not judge collaboration facts based on body [[链接]] .
  • Do not treat recommended matches as collaboration history.
  • Do not accept handwritten 合作过 relationship; it can only be derived by the index from COL records as a reading display.
  • Do not scan the entire computer by default.
  • Do not manually edit the generated section;<!-- TGRAVITY:GENERATED-START --> to <!-- TGRAVITY:GENERATED-END --> is rebuilt by the script.