agentsclimarketplace

Triforce sync check

Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/doyajin174/triforce-sync-check

๐Ÿง  The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill triforce-sync-check

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Verify 3-Mirror skill sync consistency across .public/skills, .codex/skills, and .claude/skills. Use after skill changes, before commits, or for CI validation.

The file declares its own license as MIT. That is the authorโ€™s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.2 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

Triforce Sync Check

3-Mirror ์Šคํ‚ฌ ๋™๊ธฐํ™” ์ผ๊ด€์„ฑ์„ ๊ฒ€์ฆํ•˜๋Š” ์Šคํ‚ฌ์ž…๋‹ˆ๋‹ค.

Architecture

.public/skills/     (SSOT - Single Source of Truth)
       โ”‚
       โ”œโ”€โ”€โ–บ .codex/skills/   (Mirror - Antigravity/Codex)
       โ”‚
       โ””โ”€โ”€โ–บ .claude/skills/  (Mirror - Claude Code)

When to Use

  • ์Šคํ‚ฌ ์ถ”๊ฐ€/์ˆ˜์ •/์‚ญ์ œ ํ›„
  • ์ปค๋ฐ‹ ์ „ ๊ฒ€์ฆ
  • CI/CD ํŒŒ์ดํ”„๋ผ์ธ
  • ๋ฐฐํฌ ์ „ ํ™•์ธ

Quick Check

# 1. ์Šคํ‚ฌ ์ˆ˜ ํ™•์ธ
ls -1d .public/skills/*/ | wc -l
ls -1d .codex/skills/*/ | wc -l
ls -1d .claude/skills/*/ | wc -l

# 2. ์ฝ˜ํ…์ธ  ํ•ด์‹œ ๋น„๊ต
find .public/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5
find .codex/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5
find .claude/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5

Full Verification Checklist

1. Count Verification

public_count=$(ls -1d .public/skills/*/ | wc -l)
codex_count=$(ls -1d .codex/skills/*/ | wc -l)
claude_count=$(ls -1d .claude/skills/*/ | wc -l)

echo "SSOT:   $public_count"
echo "Codex:  $codex_count"
echo "Claude: $claude_count"

Pass Criteria: 3๊ฐœ ๊ฐ’์ด ๋ชจ๋‘ ๋™์ผ

2. Structure Verification

# ๋””๋ ‰ํ† ๋ฆฌ ๋ชฉ๋ก ๋น„๊ต
diff <(ls -1 .public/skills | sort) <(ls -1 .codex/skills | sort)
diff <(ls -1 .public/skills | sort) <(ls -1 .claude/skills | sort)

Pass Criteria: diff ์ถœ๋ ฅ ์—†์Œ (๋นˆ ๊ฒฐ๊ณผ)

3. Content Verification

# SKILL.md ํŒŒ์ผ ํ•ด์‹œ ๋น„๊ต
public_hash=$(find .public/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5)
codex_hash=$(find .codex/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5)
claude_hash=$(find .claude/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5)

[ "$public_hash" = "$codex_hash" ] && [ "$public_hash" = "$claude_hash" ]

Pass Criteria: 3๊ฐœ ํ•ด์‹œ๊ฐ€ ๋ชจ๋‘ ๋™์ผ

4. YAML Validation

# ๊ฐ SKILL.md์˜ frontmatter ์œ ํšจ์„ฑ
for skill in .public/skills/*/SKILL.md; do
  name=$(grep "^name:" "$skill" | head -1)
  desc=$(grep "^description:" "$skill" | head -1)
  if [ -z "$name" ] || [ -z "$desc" ]; then
    echo "INVALID: $skill"
  fi
done

Pass Criteria: INVALID ์ถœ๋ ฅ ์—†์Œ

5. Duplicate Check

# name ํ•„๋“œ ์ค‘๋ณต ํ™•์ธ
grep -h "^name:" .public/skills/*/SKILL.md | sort | uniq -c | grep -v "^ *1 "

Pass Criteria: ์ถœ๋ ฅ ์—†์Œ (์ค‘๋ณต ์—†์Œ)

Sync Command

๋ถˆ์ผ์น˜ ๋ฐœ๊ฒฌ ์‹œ ์žฌ๋™๊ธฐํ™”:

node scripts/sync-skills.js

CI Integration

# .github/workflows/skills-check.yml
- name: Triforce Sync Check
  run: |
    public=$(ls -1d .public/skills/*/ | wc -l)
    codex=$(ls -1d .codex/skills/*/ | wc -l)
    claude=$(ls -1d .claude/skills/*/ | wc -l)

    if [ "$public" != "$codex" ] || [ "$public" != "$claude" ]; then
      echo "โŒ Mirror count mismatch"
      exit 1
    fi

    pub=$(find .public/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5)
    cx=$(find .codex/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5)
    cl=$(find .claude/skills -name "SKILL.md" -exec md5 -q {} \; | sort | md5)

    if [ "$pub" != "$cx" ] || [ "$pub" != "$cl" ]; then
      echo "โŒ Content hash mismatch"
      exit 1
    fi

    echo "โœ… Triforce sync verified"

Troubleshooting

์ฆ์ƒ์›์ธํ•ด๊ฒฐ
์ˆ˜ ๋ถˆ์ผ์น˜sync ๋ฏธ์‹คํ–‰node scripts/sync-skills.js
ํ•ด์‹œ ๋ถˆ์ผ์น˜์ง์ ‘ ๋ฏธ๋Ÿฌ ์ˆ˜์ •SSOT ์ˆ˜์ • ํ›„ sync
YAML ์˜ค๋ฅ˜frontmatter ํ˜•์‹name/description ํ™•์ธ
์ค‘๋ณต name๋ณต์‚ฌ ๋ถ™์—ฌ๋„ฃ๊ธฐ ์‹ค์ˆ˜๊ณ ์œ ํ•œ name์œผ๋กœ ์ˆ˜์ •

Pass/Fail Summary

โœ… PASS ์กฐ๊ฑด:
- Count: github = codex = claude
- Structure: ๋™์ผํ•œ ๋””๋ ‰ํ† ๋ฆฌ ๋ชฉ๋ก
- Content: ๋™์ผํ•œ ํ•ด์‹œ๊ฐ’
- YAML: ๋ชจ๋“  ์Šคํ‚ฌ์— name + description
- Unique: ์ค‘๋ณต name ์—†์Œ

โŒ FAIL ์‹œ:
1. ์˜ค๋ฅ˜ ์œ ํ˜• ์‹๋ณ„
2. SSOT (.public/skills) ์ˆ˜์ •
3. sync-skills.js ์‹คํ–‰
4. ์žฌ๊ฒ€์ฆ

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.