gbtweilai-star

Gbt Genoffice — Git skill for Claude Code

Git community

GBT V8 capability #38/341 · genoffice (creation) — 办公文档(GenOffice 蒸馏版 · 本地 CLI 0.10+):info/pdf/guide/capabilities + convert/create/merge/slides/sheet/docs/render 全部接通(文档处理全本地、零云依赖);search/imag.

How to install Gbt Genoffice

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gbtweilai-star/gbt-genoffice and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Gbt Genoffice does

GBT V8 capability #38/341 · genoffice (creation) — 办公文档(GenOffice **蒸馏版** · 本地 CLI 0.10+):info/pdf/guide/capabilities + convert/create/merge/slides/sheet/docs/render **全部接通**(文档处理全本地、零云依赖);search/image/media 保留(走主人自配 provider ⇒ **耗积分**,不许念成"全免费");**控制端类命令(open/selection/mcp/install-cli/skill)默认不接 —— 主人点名放行并留痕**(state/genoffice_control.jso

Alternatives in Git

README

genoffice

**One capability bit from GBT V8, packaged standalone.** No. 38 of 341, `creation` domain (Creation).

python license deps

办公文档(GenOffice **蒸馏版** · 本地 CLI 0.10+):info/pdf/guide/capabilities + convert/create/merge/slides/sheet/docs/render **全部接通**(文档处理全本地、零云依赖);search/image/media 保留(走主人自配 provider ⇒ **耗积分**,不许念成"全免费");**控制端类命令(open/selection/mcp/install-cli/skill)默认不接 —— 主人点名放行并留痕**(state/genoffice_control.jsonl);读类直连、写类过 filesystem_write 门(处理器层挂闸,不碰 policy)。op=status/ops/<命令名>/run

That description is copied verbatim from the registry. `tests/test_spec.py` pins it, so documentation drift fails the build instead of shipping quietly.

What this package actually is

It is the **contract** for one capability: its name, its parameters, the values it accepts, and whether it can change state that cannot be restored. It is not the implementation — that lives in the runtime this bit was extracted from.

So `run()` goes through a narrow `Backend` protocol, and the default backend is a stub that **says so**:

status="validated"   backend="stub"   data={"executed": false}

Never `status="ok"`. A stub that reports success is worse than no stub, because the caller stops looking for the real thing.

Install

git clone https://github.com/gbtweilai-star/gbt-genoffice.git
cd gbt-genoffice
python -m pip install -e ".[dev]"

Use

python -m gbt_genoffice info                  # capability card
python -m gbt_genoffice spec --json           # machine-readable contract
python -m gbt_genoffice check --payload '{}'
python -m gbt_genoffice run   --payload '{}'

Real `info` output from this machine:

genoffice  (creation)  v1.0.0
----------------------------------------
办公文档(GenOffice **蒸馏版** · 本地 CLI 0.10+):i