sensecraft-solutions: Skill for Claude Code

.agents/skills/author-cli/SKILL.md

author-cli is a skill for Claude Code from suharvest/sensecraft-solutions. It costs 67 tokens per session (2,724 once invoked), scanned A, original, Apache-2.0.

An offline command-line tool for checking and packaging solution directories from a cloned repository. It can validate the directory contract, show preset steps, and export a local preview package.

In plain words
What is it for?
It helps validate solution files in continuous integration, inspect preset outputs, and create packages for local preview.
Why use it?
It lets solution authors check their work without starting the deployment engine or desktop app. It also separates authoring tasks from the different tools used to deploy solutions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is suharvest/sensecraft-solutions's own configuration. It tells Claude Code how to work on sensecraft-solutions itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sensecraft-solutions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to suharvest/sensecraft-solutions. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/suharvest/sensecraft-solutions/main/.agents/skills/author-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/suharvest/sensecraft-solutions

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for author-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/author-cli/github.svg)](https://agentmods.dev/skills/suharvest/sensecraft-solutions/author-cli)
Your own site
<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/author-cli"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/author-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for author-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/author-cli"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/author-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.02724
Opus 5.5 $0.00027 $0.01090
Sonnet 5.5 $0.00013 $0.00545
Haiku 4.5 $0.00007 $0.00272

Measured 10d ago against content hash 0ed3e1833760, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

author-cli scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w '%{http_code}\n' http://localhost:2125/healthz # → 200
.agents/skills/author-cli/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

author-cli — 方案作者离线工具 (solutionctl)

solutionctl 是 packages/solutionctl/ 里的命令行工具,分两类命令:

类别 命令 需要什么
作者离线工具(本 skill 的主要用途) validate、steps、export 只要本仓库 clone,不需要引擎、不需要 App
需要 Python 引擎的命令 meta、solution list/show、deploy-info、deploy、manage、stage 定位并启动 provisioning-station(桌面 App 的 Python 后端),见文末附录

部署方案:用 solution-cli skill,不用 author-cli

Agent 给用户部署方案、处理部署失败、处理验证步骤(verify_required)时,加载 skills/solution-cli/SKILL.md。它使用官方统一的 solution-cli / sensecraft-engine 引擎:

npx -y --package=@seeed-studio/solution-cli@latest solution-cli install
# 或使用 sensecraft-engine 命令行:
sensecraft-engine content pull
sensecraft-engine solution list --json
sensecraft-engine deploy-info <solution_id> --preset <preset>
sensecraft-engine deploy --params body.json --yes --detach
sensecraft-engine status <deployment_id> --json
sensecraft-engine logs <deployment_id> --since <N>

solutionctl deploy / manage / stage 会启动 Python 后端,不在 Agent 部署路径上。

作者离线工具(不需要引擎)

从仓库 clone 内运行:uv run --package sensecraft-solutionctl solutionctl <...> (已全局安装时直接 solutionctl)。

# 校验一个方案目录是否符合 spec 契约(CI 对每个方案跑同一条命令)
solutionctl validate solutions/<id> --spec-dir spec --check-urls

# 每个 preset 的步骤:guide 标题与它指向的 devices/*.yaml 产物合在一起显示
#(固件来源与校验和、compose 文件、烧录参数等),发布前核对用
solutionctl steps solutions/<id> [--lang en|zh]

# 打包成 App 可导入的 zip(本地预览,见 preview-solution-content skill)
solutionctl export <id> [--output-dir dist]

validate 失败时按输出逐条修改再跑,直到通过。

附录:需要 Python 引擎的命令(作者调试用,会启动 Python 后端)

以下命令通过子进程调用 provisioning-station(桌面 App 的 Python 后端)。定位顺序:

  1. 环境变量 $SENSECRAFT_ENGINE_BIN
  2. ~/.sensecraft/engine.json 握手文件(App 首次启动写入)
  3. 平台原生查找(macOS mdfind / Windows 注册表 / Linux dpkg)

定位失败时 solutionctl 会提示装 App,或 export SENSECRAFT_ENGINE_BIN=<引擎绝对路径>。 作者用它们在本机验证改过的方案能否部署;给用户部署请用 solution-cli skill。

命令速查

从仓库 clone 内跑命令即可,solutionctl 会自动把 PS_SOLUTIONS_DIR 指向这个 clone 的 solutions/(cwd 在 repo 根下任意位置都行),无需 --solutions-dir;同时 best-effort 把 PS_DEVICES_DIR 指向已装桌面 App 的 devices/ 目录(含 device_class 的方案需要)。 命令行不用加 uv run 前缀的话直接 solutionctl;在 clone 里用 uv run --package sensecraft-solutionctl solutionctl <...>。

Read the full file on GitHub · 199 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 199 lines · 67 tokens per session scan A 0ed3e1833760

Subscribe to this mod's changes

author-cli is a skill published in the GitHub repository suharvest/sensecraft-solutions (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 67 tokens to every session and 2,724 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

managing-github-actions-secrets

Creates and updates GitHub Actions secrets for PostHog workflows. Use when adding a new CI secret, rotating an existing secret, wiring a workflow to an API token, package registry credential, deploy key, or any value referenced via ${{ secrets. }} in .github/workflows/.

PostHog/posthog-foss · 67 tokens

deployment-engineer

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization.…

rmyndharis/antigravity-skills · 77 tokens