# Config

> Use when configuring obshare-cli credentials, checking saved settings, testing connectivity, clearing local config, or setting optional Obsidian bridge values used by the V0.2.0 direct-share stack.

- **Type:** Skill
- **Install:** `agentstack add skill-sushuheng-obshare-cli-config`
- **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/config

## Install

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

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

## About

# obshare-cli config

Manage saved configuration for Feishu uploads and optional Obsidian bridge integration. These settings are consumed by both the CLI and the Obsidian companion plugin's direct-share flow in `V0.2.0`.

## Quick Reference

| Command | Purpose |
|---------|---------|
| `set-app-id ` | Save Feishu App ID |
| `set-app-secret ` | Save Feishu App Secret |
| `set-user-id ` | Save Feishu user ID |
| `set-folder ` | Save target folder token |
| `set-obsidian-cli ` | Save Obsidian CLI command name/path |
| `set-obsidian-bridge-dir ` | Save shared bridge directory |
| `set-obsidian-command-id ` | Save Obsidian render command ID |
| `show` | Show current config with sensitive values masked |
| `test` | Test Feishu connectivity |
| `clear` | Remove saved local config |

## Common Usage

```bash
# Required Feishu settings
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"

# Optional Obsidian bridge settings for Mermaid rendering
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

# Inspect and test
conda run -n obsd obshare-cli config show
conda run -n obsd obshare-cli --json config show
conda run -n obsd obshare-cli config test
```

## Notes

- Uploads require `app_id`, `app_secret`, `user_id`, and `folder_token`.
- Config is stored in `~/.obshare/config.json`.
- Sensitive fields are stored encrypted when cryptography support is available.
- `--json` is a global option: place it before the subcommand, not after `show` or `test`.

## 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-config
- 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%.
