360 Secure SkillHub
360 安全技能中心

ClawHub Studio

提供本地 Web 界面与 Python 后端,用于创建 Agent 技能、管理版本清单、运行自测并尝试发布到 ClawHub;包含 SQLite 存储、HMAC 会话认证、REST API 和 31 项测试。

itspremkumar
itspremkumar
热度 46.93
最近更新 2026-07-13 17:10:58
分类:开发依赖:代码执行 / 联网浏览搜索 / 读写文件 / 第三方 API应用场景:工作流 / DevOps / API 集成 / 模板

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add itspremkumar/skill-studio
Metadata
name
clawhub-studio
version
0.2.0
description
Local-first studio to author, test, version & publish agent skills — with a real backend, auth, test-runner UI, and one-click ClawHub publishing. Zero dependencies.

ClawHub Studio

A local-first web app to author, test, version, and publish agent skills. Replaces a folder of loose scripts with one cohesive, tested product.

Why

Building agent skills by hand is error-prone and unverified. ClawHub Studio gives you a real toolchain: SQLite-backed registry, signed auth, a test-runner UI, and publish-to-ClawHub in one click.

How to run (agent or human)

cd clawhub-studio
python -m studio serve --port 8000 --open
# → http://127.0.0.1:8000  (login is automatic)
  • Create a skill, add a version (manifest), hit Run self-test, then Publish (dry-run).
  • Verify anytime: python -m studio self-test (31 tests) or python -m unittest discover -s tests.

What's inside

  • studio/db.py — SQLite repository (skill / version / run).
  • studio/auth.py — HMAC-signed session tokens (no plaintext passwords).
  • studio/skills.py — manifest parse/validate/version-bump/serialize.
  • studio/testrunner.py — runs a skill's self-test.
  • studio/publish.py — wraps clawhub publish.
  • studio/server.py — REST API + static SPA host (path-traversal guarded).
  • web/ — single-page UI.

Repository

https://github.com/itsPremkumar/clawhub-studio

Tests / CI

GitHub Actions runs the suite on Python 3.8 and 3.11. All 31 tests must pass.