arthai-marketplace

/share

Format plans and strategies for sharing. Adds attribution, cleans sensitive info, outputs shareable format.

Synopsis

/share [plan-name] [--format md|slack|twitter|html] [--no-attribution]

All arguments are optional — plan-name defaults to the most recently generated artifact this session, and --format defaults to md.

When to use it

Quickstart

/share user-notifications

What you’ll see: the plan from .claude/plans/user-notifications.md, cleaned of internal metadata and sensitive details, printed as a polished markdown document with a one-line attribution footer — ready to copy.

Examples

/share user-notifications                   # most recent form — markdown output
/share gtm-strategy --format slack          # Slack-compatible formatting, concise bullets
/share oauth-support --format twitter       # tweet-thread blocks (≤280 chars each)
/share user-notifications --format html     # styled HTML page written to .claude/shared/
/share user-notifications --no-attribution  # skip the attribution footer
/share                                      # no name — shares the session's latest artifact, or lists plans to pick from

Arguments & flags

Flag Values Default What it does
<plan-name> name in .claude/plans/ latest session artifact Which plan to share; if nothing is found, you pick from a list
--format md, slack, twitter, html md Output format for the target platform
--no-attribution off Omits the attribution footer entirely

What it does

  1. Finds the artifact — the named plan in .claude/plans/, otherwise the most recently generated artifact this session; if neither exists, it lists available plans and asks you to pick (user-confirmation checkpoint).
  2. Cleans it — strips YAML frontmatter and toolkit internals, converts absolute file paths to relative ones, removes API keys/tokens/secrets and internal URLs (localhost, staging), and tidies headings and code blocks.
  3. Formats for the target — full markdown (default), Slack-style markdown with concise bullets, a tweet-thread summary with a hook, or a clean responsive HTML page.
  4. Outputs — md/slack/twitter print to the terminal for you to copy; html is written to .claude/shared/<plan-name>.html. The skill never posts anywhere itself.
  5. Suggests next steps — offering the other formats.

A subtle one-line attribution footer is appended unless you pass --no-attribution. The wording adapts to the content: plans with multiple agents credit the “PM + Architect team”, GTM strategies credit the “GTM Expert”, and design briefs credit “Design Studio”.

Output & artifacts

Troubleshooting

Problem Fix
No plan found with the given name Check .claude/plans/ — the skill lists what’s available so you can pick
Output looks truncated in Slack Slack truncates long messages; the slack format already shortens sections — share the md or html version for full detail
Twitter blocks exceed the character limit Each block targets ≤280 chars; trim manually if your handle/links push it over
Sensitive value still visible The scrubber targets common patterns; review before posting and report anything it missed