# Obshare Cli

> Use when setting up obshare-cli 0.2.0, reviewing available commands, or choosing the right command for config, upload, permission, history, delete, and the plugin-first direct-share workflow.

- **Type:** Skill
- **Install:** `agentstack add skill-sushuheng-obshare-cli-obshare-cli`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [SuShuheng](https://agentstack.voostack.com/s/sushuheng)
- **Installs:** 0
- **Category:** [Productivity](https://agentstack.voostack.com/c/productivity)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [SuShuheng](https://github.com/SuShuheng)
- **Source:** https://github.com/SuShuheng/obshare-cli/tree/main/skills/obshare-cli

## Install

```sh
agentstack add skill-sushuheng-obshare-cli-obshare-cli
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# obshare-cli

`obshare-cli` uploads Markdown documents to Feishu and keeps local upload history. In `V0.2.0`, the Obsidian companion plugin is the primary direct-share UI, while the CLI remains the execution backend. The recommended runtime for this stack is the `obsd` conda environment.

## Setup

```bash
conda create -n obsd python -y
conda run -n obsd python -m pip install --upgrade pip
conda run -n obsd python -m pip install --upgrade obshare-cli
conda run -n obsd obshare-cli --version
conda run -n obsd obshare-cli --help
```

## Global Options

| Option | Purpose |
|--------|---------|
| `--json` | Return machine-friendly JSON output |
| `--debug` | Enable debug logging |
| `--version` | Show installed version |

`--json` and `--debug` are global flags. Put them before the command, for example `obshare-cli --json config show`.

## Commands

| Command | Purpose |
|---------|---------|
| `config` | Save credentials and optional Obsidian bridge settings |
| `upload` | Upload a Markdown file to Feishu |
| `permission` | Change document sharing permissions |
| `list` | Show local upload history |
| `delete` | Delete a document by token |

## Quick Start

```bash
conda run -n obsd obshare-cli config set-app-id "cli_xxx"
conda run -n obsd obshare-cli config set-app-secret "xxx"
conda run -n obsd obshare-cli config set-user-id "ou_xxx"
conda run -n obsd obshare-cli config set-folder "fldcnxxx"
conda run -n obsd obshare-cli config test
conda run -n obsd obshare-cli upload note.md
conda run -n obsd obshare-cli list history
```

## Optional Obsidian Bridge

If you use the companion Obsidian plugin, also set:

```bash
conda run -n obsd obshare-cli config set-obsidian-cli obsidian
conda run -n obsd obshare-cli config set-obsidian-bridge-dir /path/to/shared/bridge
conda run -n obsd obshare-cli config set-obsidian-command-id obshare-cli:process-render-request
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [SuShuheng](https://github.com/SuShuheng)
- **Source:** [SuShuheng/obshare-cli](https://github.com/SuShuheng/obshare-cli)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sushuheng-obshare-cli-obshare-cli
- Seller: https://agentstack.voostack.com/s/sushuheng
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
