360 Secure SkillHub
360 安全技能中心

Wip Repos

wip-repos 是一个仓库清单协调器,以 repos-manifest.json 作为仓库组织方式的唯一来源,提供 check、sync、add、move、tree 五个 CLI 子命令,也可作为 Node 模块导入并通过 MCP 暴露工具;运行需要 Node.js 18+ 与 git,用于克隆新仓库后核对文件系统、在分类间移动仓库以及生成目录树。

parkertoddbrooks
parkertoddbrooks
热度 62.78
最近更新 2026-05-18 12:21:19
分类:开发依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wip-repos
Metadata
name
wip-repos
description
Repo manifest reconciler. Makes repos-manifest.json the single source of truth for repo organization.
license
MIT
interface
["cli","module","mcp"]
metadata
{"display-name":"Repo Manifest Reconciler","version":"0.1.0","homepage":"https://github.com/wipcomputer/wip-ai-devops-toolbox","author":"Parker Todd Brooks","category":"dev-tools","capabilities":["manifest-check","filesystem-sync","repo-add","repo-move","tree-generation"],"requires":{"bins":["node","git"]},"openclaw":{"requires":{"bins":["node","git"]},"install":[{"id":"node","kind":"node","package":"@wipcomputer/wip-repos","bins":["wip-repos"],"label":"Install via npm"}],"emoji":"📂"}}
compatibility
Requires git, node. Node.js 18+.

wip-repos

Repo manifest reconciler. Like prettier for folder structure. Move folders around all day; on sync, everything snaps back to where the manifest says.

When to Use This Skill

Use wip-repos for:

  • Checking if the filesystem matches the manifest (check)
  • Moving repos to match the manifest (sync)
  • Adding a new repo to the manifest (add)
  • Moving a repo in the manifest (move)
  • Generating a directory tree from the manifest (tree)

Use after:

  • Cloning a new repo
  • Moving repos between categories
  • Adding new repos to the org

Do NOT Use For

  • Git operations (use git directly)
  • Repo creation on GitHub (use gh)

API Reference

CLI

wip-repos check                              # diff filesystem vs manifest
wip-repos sync --dry-run                     # preview moves
wip-repos sync                               # execute moves
wip-repos add ldm-os/utilities/new-tool --remote wipcomputer/new-tool
wip-repos move ldm-os/utilities/tool --to ldm-os/devops/tool
wip-repos tree                               # generate directory tree

Module

import { check, planSync, addRepo, moveRepo, generateReadmeTree } from '@wipcomputer/wip-repos';

const result = check('/path/to/manifest.json', '/path/to/repos/');
const moves = planSync('/path/to/manifest.json', '/path/to/repos/');

MCP

Tools: repos_check, repos_sync_plan, repos_add, repos_move, repos_tree