Xpersona
D

Draft Cli

CLAWHUB · Unverified

Manage InnoSage Draft pages and hosted Secret Shares using the @innosage/draft-cli. Use this skill for `draft`, `draft page ...`, `draft secret ...`, and `dr...

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1792my6kfgvzgtqavh11j5h0h83grgt:draft-cli
  1. Install using `clawhub skill install s1792my6kfgvzgtqavh11j5h0h83grgt:draft-cli` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/toliuweijing/draft-cli before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-toliuweijing-draft-cli/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

152,629 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: draft-cli
version: "1.9.5"
description: >
  Manage InnoSage Draft pages and hosted Secret Shares using the @innosage/draft-cli.
  Use this skill for `draft`, `draft page ...`, `draft secret ...`, and `draft auth ...`.
  Prefer JSON Workspace page operations anchored by workspace status/path metadata.
  Do not use this skill when "draft" is only a verb or when the task is a generic local-file
  writing task unrelated to Draft CLI.
metadata:
  clawdis:
    emoji: "📝"
    requires:
      bins:
        - "draft"
    install:
      - id: "npm"
        kind: "node"
        package: "@innosage/draft-cli"
        bins:
          - "draft"
        label: "Install draft-cli (npm)"
    envVars:
      - name: "GLOBAL_INVITE_CODE"
        required: false
        description: "The invite code used to publish Draft pages safely. Defaults to `innosage` during the free beta publish flow."
---

# Draft CLI Skill

Use `draft` for JSON Workspace page-domain Draft operations and hosted Secret Share helpers.

## Current Runtime Contract

- Prefer the saved JSON Workspace as the default page target.
- Use workspace metadata commands before page commands so you know which folder and source the CLI is using.
- Until headless storage is removed, pass the resolved workspace path with `--workspace-json <folder>`
  for page commands that must operate on JSON Workspace data.

## Workspace-First Pattern For Page Commands

For page commands such as `draft page ls`, `draft page cat`, `draft page create`,
`draft page append`, `draft page replace`, `draft page patch`, `draft page annotate`, and
`draft page publish`:

```bash
draft workspace status --json
draft workspace path --json
```

Use the returned `active_workspace_path` to anchor page commands explicitly:

```bash
draft --workspace-json <active_workspace_path> page ls --json
draft --workspace-json <active_workspace_path> page cat <page_id> --json
```

For an explicit folder override, anchor the command with `--workspace-json`:

```bash
draft --workspace-json <folder> page ls --json
draft --workspace-json <folder> page cat <page_id> --json
```

If the user wants that folder to become the default workspace, set it first:

```bash
draft workspace set-path <folder> --json
draft workspace status --json
```

Use the workspace metadata to confirm whether the CLI is operating on the saved default path or an
explicit override before you describe results back to the user.

## Version Detection And Older CLI Fallback

Newer CLIs can expose workspace metadata commands such as:

```bash
draft workspace status --json
draft workspace path --json
draft workspace set-path <folder> --json
```

If those commands are unavailable, detect that once and fall back safely:

```bash
draft workspace --help
draft --workspace-json <folder> page ls --json
```

- If `draft workspace --help` or `draft workspace status --json` fails with an unknown-command
  style error, assume the CLI is older.
- On older CLIs, require an explicit folder and ru

_meta.json

{
  "ownerId": "kn756a13aw1mqmzdr452d1z6xx82qdga",
  "slug": "draft-cli",
  "version": "1.9.5",
  "publishedAt": 1781267283905
}

skill-card.md

## Description:

Manage InnoSage Draft pages and hosted Secret Shares using the @innosage/draft-cli.

This skill is ready for commercial/non-commercial use.

## Publisher:

[toliuweijing](https://clawhub.ai/user/toliuweijing)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to manage Draft workspace pages, public review feedback, publishing flows, authentication, and hosted Secret Share operations through the Draft CLI.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill may direct an agent to fetch URLs exposed by public Draft page metadata, which can lead to requests to unintended internal or sensitive resources.

Mitigation: Use trusted Draft URLs, avoid arbitrary public pages, and review fetched metadata endpoints before allowing follow-up requests.

Risk: Draft write, publish, authentication, and Secret Share commands can modify or expose content.

Mitigation: Keep read-only behavior as the default and require explicit user approval and target confirmation before write, publish, auth, or Secret Share actions.

## Reference(s):

- [Draft Cli on ClawHub](https://clawhub.ai/toliuweijing/skills/draft-cli)

## Skill Output:

**Output Type(s):** [Guidance, Shell commands, Configuration]

**Output Format:** [Markdown with inline shell commands and JSON examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include Draft CLI commands that read, write, publish, authenticate, or manage hosted Secret Shares.]

## Skill Version(s):

1.9.5 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Draft Cli and adjacent AI workflows.