一键导入
social-digest
// Fetch today's Discord channel + Mastodon posts via API tokens, summarize to Markdown, and save into an Obsidian vault (Bun script).
// Fetch today's Discord channel + Mastodon posts via API tokens, summarize to Markdown, and save into an Obsidian vault (Bun script).
Guide frontend component design and code review using functional cohesion. Use when designing, reviewing, or refactoring React/TypeScript UI components with multiple roles, similar screens, conditional rendering, API-union-driven UI, notifications, directory/file rows, create/edit forms, or when deciding whether to split, merge, or commonize components.
Extract transcripts, captions, or subtitles from YouTube videos. Use when the user provides a YouTube URL or video ID and asks for a transcript, optionally with timestamps, or asks to save captions to a file.
Audit the baseline repo hygiene of an existing Next.js project when joining it for the first time. Use this whenever the user says they just joined a Next.js project, asks what to check first, wants a first-pass setup review, or wants to confirm dependency pinning, pnpm workspace strictness, Knip setup, Node version pinning, environment-variable validation, or testing strategy before doing feature work.
Draft or refine a newcomer-friendly GitHub issue from repo context. Use when the user asks to create a "good first issue", wants a small scoped starter task, needs an issue body with clear acceptance criteria, or wants to split a larger task into a safe first contribution.
Draft or refine an architecture decision record (ADR) when the user needs a durable technical decision, not just a summary. Use for architecture, dependency, API contract, infrastructure, security, tooling, or process choices that need clear rationale, rejected alternatives, consequences, and an adoption path.
Lint and secure GitHub Actions workflows using pinact, actionlint, ghalint, and zizmor. Use when the user adds, updates, or reviews GitHub Actions workflows and wants to check correctness, security, or pin action versions.
| name | social-digest |
| description | Fetch today's Discord channel + Mastodon posts via API tokens, summarize to Markdown, and save into an Obsidian vault (Bun script). |
| metadata | {"openclaw":{"requires":{"bins":["bun"],"env":["DISCORD_BOT_TOKEN","MASTODON_TOKEN","OBSIDIAN_VAULT"],"config":[]},"primaryEnv":"OBSIDIAN_VAULT"}} |
| user-invocable | true |
Summarize daily posts from:
…and write a Markdown note into an Obsidian vault.
bun available on PATHDISCORD_BOT_TOKENMASTODON_TOKENOBSIDIAN_VAULT (absolute path to your vault root)MASTODON_BASE_URL (default: inferred from the account / token, but recommended)From repo workspace:
bun run {baseDir}/scripts/social-digest.ts \
--date today \
--discord-channel 1028287639918497822 \
--mastodon-acct yuta@fedi.yutakobayashi.com \
--out "Daily/Social" \
--format daily
curl "https://api.fxtwitter.com/jack/status/20"
cd {baseDir}
bun test
--date : today or YYYY-MM-DD (JST)--discord-channel : Discord channel ID--mastodon-acct : username@instance (e.g. yuta@fedi.yutakobayashi.com)--out : subfolder inside the vault--format : currently dailyTwo-step flow:
links).web_fetch) and writes the final Obsidian Markdown note to:$OBSIDIAN_VAULT/Daily/Social/YYYY-MM-DD.md
web_fetch and include a short title + 1–2 line gist.maxChars (e.g. 3000–8000) and short timeouts; failures should not fail the whole digest.GET /channels/{channel.id}/messages and filters by date.