upload

A command-line tool for uploading Markdown notes to Feishu, a collaboration and document platform. It can also set options controlling whether others may view, copy, or download the document.

In plain words
What is it for?
Use it to upload Markdown files, set public or copy/download permissions, and obtain the document title, token, URL, and upload time.
Why use it?
It removes the need to upload notes manually and can return structured results for scripts or an Obsidian sharing workflow.

Skill for Claude CodeCodex

Part of the obshare-cli plugin — 6 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sushuheng/obshare-cli/upload
Any agent
npx skills add SuShuheng/obshare-cli --skill upload
Clone the repo
git clone --depth 1 https://github.com/SuShuheng/obshare-cli

Made for: Claude Code, Codex.

Or install obshare-cli, the plugin that ships this one along with the rest of its 6 skills.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.00316
Opus 5 $0.00018 $0.00158
Sonnet 5 $0.00007 $0.00063
Haiku 4.5 $0.00004 $0.00032

Measured 2d ago against content hash 4f2a7575327e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

upload scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/upload/SKILL.md · 44 lines

What it actually says

obshare-cli upload

Upload one Markdown file to Feishu.

Syntax

conda run -n obsd obshare-cli upload <file>
conda run -n obsd obshare-cli upload <file> --public --allow-copy --allow-download
conda run -n obsd obshare-cli --json upload <file>

Examples

conda run -n obsd obshare-cli upload note.md
conda run -n obsd obshare-cli upload /path/to/note.md --public
conda run -n obsd obshare-cli upload note.md --allow-copy --allow-download
conda run -n obsd obshare-cli --json upload note.md

Result

Successful output includes:

  • Document title
  • Document token
  • Feishu URL
  • Applied permission flags
  • Upload time

Notes

  • Required config must be complete before upload.
  • Upload history is saved to ~/.obshare/history.json.
  • --json is a global flag and must appear before upload.
  • If you rely on Mermaid rendering through the companion plugin, configure the optional Obsidian bridge settings first.
  • In V0.2.0, the Obsidian companion plugin calls this command as the backend for direct note sharing.
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. 2d ago First seen · 44 lines · 37 tokens per session scan A 4f2a7575327e

Subscribe to this mod's changes

upload is a skill published in the GitHub repository SuShuheng/obshare-cli (2 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 316 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

notion-artifact-capture

Use when a user says “save to Notion” for research, reports, drafts, references, or generated artifacts and wants a reusable default destination. Bootstraps a generic Notion AI Output Library under a user-created shared parent page, saves typed metadata and optional Markdown, verifies every write through the live API…

AtlasOmnia/hermes-custom-pack · 82 tokens

google-workspace

Gmail, Calendar, Drive, Contacts, Sheets, and Docs — through Hermes-managed OAuth and a thin CLI wrapper. When gws is installed, the skill uses it as the execution backend for broader Google Workspace coverage; otherwise it falls back to the bundled Python client implementation.

AtlasOmnia/hermes-custom-pack · 24 tokens

notion

Notion API + ntn CLI: pages, databases, markdown, Workers.

AtlasOmnia/hermes-custom-pack · 19 tokens

coding-worktree-recovery

Use this skill when coding-agent work is interrupted, an agent exits without a clean commit, multiple controllers target the same checkout, or the checkout produces inconsistent file/Git behavior.

AtlasOmnia/hermes-custom-pack · 56 tokens

browser-harness-authoring

Use when mapping a repeatable website workflow into a verified Hermes skill so later runs can follow known steps instead of rediscovering the site. Surveys browser compatibility, semantic targets, failure modes, recovery paths, decision gates, and expiry using dummy data and no irreversible submissions.

AtlasOmnia/hermes-custom-pack · 60 tokens

obsidian-memory-architecture

Use when designing, setting up, or maintaining an Obsidian vault as Hermes Agent's durable knowledge layer. Routes facts, conversation history, documents, procedures, and daily logs to the correct Hermes or vault system without duplicating everything into the prompt.

AtlasOmnia/hermes-custom-pack · 56 tokens