用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill client-llm-wiki-factory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
正在显示 SKILL.md
| name | client-llm-wiki-factory |
| description | Bootstrap a registered private client wiki from the committed generic template. |
| version | 2.0.0 |
| category | coordination |
| tags | ["client-wiki","factory","privacy-firewall","metadata-only"] |
0.2 row with
status: planned, visibility: PRIVATE, posture: client-private, and
ingestion_enabled: false.Do not use this factory for an existing bootstrapped/live wiki, a migration, raw ingestion enablement, project setup, or client-specific content. The public relocated registry stub never grants bootstrap authority.
set -euo pipefail
while IFS='=' read -r name _; do
[[ "$name" == GIT_* ]] && unset "$name"
done < <(env)
export GIT_CONFIG_NOSYSTEM=1
export GIT_CONFIG_GLOBAL=/dev/null
WORKSPACE_HUB="$(git rev-parse --show-toplevel)"
REGISTRY="${WIKI_SIBLING_REGISTRY_PATH:?set the authoritative private registry path}"
SHORT="${CLIENT_WIKI_SHORT_NAME:?set the approved registry short_name}"
AUTHOR_NAME="${CLIENT_WIKI_GIT_AUTHOR_NAME:?set the approved author name}"
AUTHOR_EMAIL="${CLIENT_WIKI_GIT_AUTHOR_EMAIL:?set the approved author email}"
MANIFEST_DIR="${CLIENT_WIKI_MANIFEST_DIR:?set an external private evidence directory}"
REGISTRY_UPDATE_TOOL="${CLIENT_WIKI_REGISTRY_UPDATE_TOOL:?set the authoritative registry updater}"
export CLIENT_WIKI_GIT_AUTHOR_NAME="$AUTHOR_NAME"
export CLIENT_WIKI_GIT_AUTHOR_EMAIL="$AUTHOR_EMAIL"
export PYTHONPATH="$WORKSPACE_HUB/scripts${PYTHONPATH:+:$PYTHONPATH}"
The registry path must point to the owning private repository or its approved provisioned copy. Raw-root availability is not a bootstrap prerequisite, and no raw path is accepted as a command-line argument.
Run the steps in this order. Stop on every failed command.
The following is the complete executable workflow; do not run isolated excerpts.
# FACTORY_WORKFLOW_V2
set -euo pipefail
while IFS='=' read -r name _; do
[[ "$name" == GIT_* ]] && unset "$name"
done < <(env)
export GIT_CONFIG_NOSYSTEM=1
export GIT_CONFIG_GLOBAL=/dev/null
WORKSPACE_HUB="$(git rev-parse --show-toplevel)"
REGISTRY="${WIKI_SIBLING_REGISTRY_PATH:?set the authoritative private registry path}"
SHORT="${CLIENT_WIKI_SHORT_NAME:?set the approved registry short_name}"
AUTHOR_NAME="${CLIENT_WIKI_GIT_AUTHOR_NAME:?set the approved author name}"
AUTHOR_EMAIL="${CLIENT_WIKI_GIT_AUTHOR_EMAIL:?set the approved author email}"
MANIFEST_DIR="${CLIENT_WIKI_MANIFEST_DIR:?set an external private evidence directory}"
REGISTRY_UPDATE_TOOL="${CLIENT_WIKI_REGISTRY_UPDATE_TOOL:?set the authoritative registry updater}"
export CLIENT_WIKI_GIT_AUTHOR_NAME="$AUTHOR_NAME"
export CLIENT_WIKI_GIT_AUTHOR_EMAIL="$AUTHOR_EMAIL"
export PYTHONPATH="$WORKSPACE_HUB/scripts${PYTHONPATH:+:$PYTHONPATH}"
test -d "$MANIFEST_DIR"
test ! -L "$MANIFEST_DIR"
test -x
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
validate-registry --registry
PREFLIGHT=
REPO=
TARGET=
STATUS=
=
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
create-private-repo --registry --short-name
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
verify-private-repo --repo
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
clone-private-repo --registry --short-name
REGISTRY_PATH=
MANIFEST=
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
render --registry --short-name --manifest
-s
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
finalize-scaffold --registry --short-name --manifest
uv run --directory --frozen python -m client_llm_wiki.bootstrap_contract \
verify-private-repo --repo
--registry --short-name \
--status bootstrapped --local-working-clone
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract validate-registry --registry "$REGISTRY"
PREFLIGHT="$(uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract classify --registry "$REGISTRY" --short-name "$SHORT")"
REPO="$(yq -r '.repo' <<<"$PREFLIGHT")"
TARGET="$(yq -r '.target' <<<"$PREFLIGHT")"
MODE="$(yq -r '.mode' <<<"$PREFLIGHT")"
STATUS="$(yq -r '.status' <<<"$PREFLIGHT")"
test "$STATUS" = "planned"
printf 'mode=%s status=%s repo=%s target=%s\n' "$MODE" "$STATUS" "$REPO" "$TARGET"
classify is the single target-derivation authority. Do not reconstruct the
checkout path in shell, pass a destination override, or edit the public stub.
Both operational commands pin github.com and execute with the bootstrap contract's literal allowlisted child environment.
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract \
create-private-repo --registry "$REGISTRY" --short-name "$SHORT"
Immediately attest the live state:
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract verify-private-repo --repo "$REPO"
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract \
clone-private-repo --registry "$REGISTRY" --short-name "$SHORT"
The remote must be empty, so the clone has an unborn HEAD, an empty worktree,
the registered origin, and only a real .git directory at top level. The
renderer will reject any mismatch before writing.
Capture .git identity before rendering, then invoke the contract with only
the authoritative registry and short name:
test -d "$MANIFEST_DIR"
test ! -L "$MANIFEST_DIR"
test -x "$REGISTRY_UPDATE_TOOL"
MANIFEST="$(mktemp -u --tmpdir="$MANIFEST_DIR" 'client-wiki-render.XXXXXXXX.json')"
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract render \
--registry "$REGISTRY" --short-name "$SHORT" --manifest "$MANIFEST"
test -s "$MANIFEST"
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract finalize-scaffold \
--registry "$REGISTRY" --short-name "$SHORT" --manifest "$MANIFEST"
uv run --directory "$WORKSPACE_HUB" --frozen python -m client_llm_wiki.bootstrap_contract verify-private-repo --repo "$REPO"
"$REGISTRY_UPDATE_TOOL" --registry "$REGISTRY" --short-name "$SHORT" \
--status bootstrapped --local-working-clone "$TARGET"
The renderer reads templates/client-llm-wiki from the pinned workspace Git
object, ignores dirty/untracked template files, preserves
<PROJECT_SHORT_NAME>, and refuses unknown client placeholders.
test -f "$TARGET/.gitignore"
test -f "$TARGET/.claude/CLAUDE.md"
test -s "$MANIFEST"
if rg --hidden -n '<CLIENT_[A-Z0-9_]+>|<RAW_SOURCE_STATUS>|<INGESTION_ENABLED>' "$TARGET" --glob '!.git/**'; then
echo >&2 "ABORT: unresolved bootstrap placeholder"
exit 1
fi
No project folders or client-specific rules are added in this initial commit.
The structural ledger example deliberately keeps source_path: null.
Only after the scaffold push succeeds, update the same authoritative row:
status: planned → status: bootstrappedlocal_working_clone with the exact derived $TARGETingestion_enabled: falseThe required updater belongs to the authoritative private registry repository.
It must perform that repository's reviewed update workflow; this public skill
does not prescribe pathname git mutations. Refresh any provisioned local copy
only after the authoritative update succeeds. Because set -e places this call
after render, finalization, and PRIVATE/unarchived attestation, every failure
suppresses the registry update.
The finalizer owns commit and transport. It disables ambient configuration and
uses canonical HTTPS with the fixed credential.helper=!gh auth git-credential;
do not add shell-level Git mutation instructions.
REGISTRY_PATH="$REGISTRY" "$WORKSPACE_HUB/scripts/enforcement/check-client-wiki-registry.sh"
First verify that the implementation issue itself is private. Only a verified
private issue may receive the private repository URL, $SCAFFOLD_SHA, registry
commit, or private path evidence. A public issue receives only a redacted
attestation: bootstrap succeeded, PRIVATE/unarchived checks passed, the checker
passed, and raw ingestion remains disabled. Never paste registry rows or client
identity-bearing repository slugs into a public issue.
Treat project-folder instantiation and redaction customization as separately reviewed work after the generic scaffold is committed and the registry status is bootstrapped. Those operations must preserve the privacy firewall and must not create, copy, enumerate, or ingest raw-source content without a separately approved private integration contract.
.git, or firewall differs.scripts/client_llm_wiki/bootstrap_contract.pyscripts/enforcement/check-client-wiki-registry.sh.claude/rules/wiki-sibling-routing.md