用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill gitbook-3-content-management命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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
基于 SOC 职业分类
| name | gitbook-3-content-management |
| description | Sub-skill of gitbook: 3. Content Management (+1). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
REST API - Content:
# Get page content
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/spaces/SPACE_ID/content/page/PAGE_ID" | jq
# List pages in space
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/spaces/SPACE_ID/content" | jq '.pages'
# Import content from Git
curl -s -X POST -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
-H "Content-Type: application/json" \
"$API_BASE/spaces/SPACE_ID/content/import/git" \
-d '{
"url": "https://github.com/user/docs-repo",
"ref": "main"
}' | jq
# Export content
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/spaces/SPACE_ID/content/export" \
-o content-export.zip
# Search content
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/spaces/SPACE_ID/search?query=installation" | jq
Python - Content:
class GitBookClient:
# ... previous methods ...
def get_page(self, space_id, page_id):
"""Get page content."""
return self._request(
"GET",
f"/spaces/{space_id}/content/page/{page_id}"
)
def list_pages(self, space_id):
"""List all pages in space."""
content = self.get_space_content(space_id)
return content.get("pages", [])
def search_content(self, space_id, query):
"""Search content in space."""
return self._request(
"GET",
f"/spaces/{space_id}/search",
params={"query": query}
)
def import_from_git(self, space_id, repo_url, ref="main"):
"""Import content from Git repository."""
return self._request(
"POST",
f"/spaces/{space_id}/content/import/git",
data={"url": repo_url, "ref": ref}
)
# Search example
results = client.search_content("space_xxxxx", "getting started")
result results.get(, []):
()
REST API - Collections:
# List collections
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/orgs/ORG_ID/collections" | jq
# Get collection
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/collections/COLLECTION_ID" | jq
# Create collection
curl -s -X POST -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
-H "Content-Type: application/json" \
"$API_BASE/orgs/ORG_ID/collections" \
-d '{
"title": "Product Documentation",
"description": "All product-related documentation"
}' | jq
# Add space to collection
curl -s -X POST -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/collections/COLLECTION_ID/spaces/SPACE_ID" | jq
# Remove space from collection
curl -s -X DELETE -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/collections/COLLECTION_ID/spaces/SPACE_ID"
# List spaces in collection
curl -s -H "Authorization: Bearer $GITBOOK_API_TOKEN" \
"$API_BASE/collections/COLLECTION_ID/spaces" | jq
Python - Collections:
class GitBookClient:
# ... previous methods ...
def list_collections(self, org_id):
"""List all collections in organization."""
return self._request("GET", f"/orgs/{org_id}/collections")
def get_collection(self, collection_id):
"""Get collection details."""
return self._request("GET", f"/collections/{collection_id}")
def create_collection(self, org_id, title, description=None):
"""Create a new collection."""
data = {"title": title}
if description:
data["description"] = description
return self._request(
"POST",
f"/orgs/{org_id}/collections",
data=data
)
def add_space_to_collection(self, collection_id, space_id):
"""Add space to collection."""
return self._request(
"POST",
f"/collections/{collection_id}/spaces/{space_id}"
)
def list_collection_spaces():
._request(
,
)
collection = client.create_collection(
org_id=,
title=,
description=
)
client.add_space_to_collection(collection[], )