sonicjs: Command for Claude Code

.claude/commands/sonicjs-seo-discord-sync.md

sonicjs-seo-discord-sync is a command for Claude Code from SonicJs-Org/sonicjs. It costs 0 tokens per session (637 once invoked), scanned A, original, MIT.

A command for turning useful Discord conversations into pages that search engines can index. Discord is a chat platform, and search engines normally cannot search its private community discussions.

In plain words
What is it for?
Use it to create FAQ pages, troubleshooting guides, and community project showcases in the SonicJS website documentation.
Why use it?
It helps preserve answers, troubleshooting advice, and real examples that would otherwise remain hidden inside chat channels. It also supports attribution and links back to the Discord discussion.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is SonicJs-Org/sonicjs's own configuration. It tells Claude Code how to work on sonicjs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sonicjs configures →

About the project

SonicJS is a TypeScript-first headless content-management system that exposes content through REST APIs and an administrative interface, running on Cloudflare Workers or other SQLite-compatible environments. It is for developers building applications that manage and publish structured content, with storage through technologies such as D1 and R2. Catalogue add-ons help coding agents create and work with SonicJS projects and content.

SonicJs-Org/sonicjs · 1,700 stars · on GitHub · sonicjs.com

Reuse

Borrowing it

Nothing to install: this file belongs to SonicJs-Org/sonicjs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SonicJs-Org/sonicjs/main/.claude/commands/sonicjs-seo-discord-sync.md
Clone the repo
git clone --depth 1 https://github.com/SonicJs-Org/sonicjs

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sonicjs-seo-discord-sync

README.md
[![agentmods](https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-seo-discord-sync/github.svg)](https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-seo-discord-sync)
Your own site
<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-seo-discord-sync"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-seo-discord-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sonicjs-seo-discord-sync

Your own site · 80×15
<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-seo-discord-sync"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-seo-discord-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00637
Opus 5 $0.00000 $0.00318
Sonnet 5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00064

Measured 10d ago against content hash e4b3c1894772, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

sonicjs-seo-discord-sync 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 10d 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.

.claude/commands/sonicjs-seo-discord-sync.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Discord to Searchable Content Sync

Help surface valuable Discord discussions as searchable web content for SEO benefits.

Purpose

Discord conversations contain valuable community knowledge that:

  • Answers common questions
  • Shows real-world use cases
  • Demonstrates community engagement
  • Contains solutions to problems

But Discord content isn't indexed by search engines. This command helps transform that content into searchable resources.

Legitimate Approaches

1. FAQ Generation from Discord

  • Review Discord channels for frequently asked questions
  • Extract Q&A pairs with proper attribution
  • Create FAQ pages in the documentation
  • Link back to Discord for continued discussion

Output location: www/src/app/faq/page.mdx

2. Community Showcase

  • Highlight real projects built with SonicJS
  • Feature community members (with permission)
  • Share success stories and use cases

Output location: www/src/app/showcase/page.mdx

3. Troubleshooting Guide

  • Compile common issues and solutions from Discord
  • Create searchable troubleshooting documentation
  • Include error messages for SEO (people search exact errors)

Output location: www/src/app/troubleshooting/page.mdx

4. Discussion Archive (With Consent)

  • Archive helpful Discord threads (with permission)
  • Make them searchable and linkable
  • Maintain attribution to original authors

Implementation Options

Option A: Manual Curation

  1. Identify valuable Discord threads
  2. Summarize into documentation
  3. Add proper attribution
  4. Link to original Discord

Option B: Discord Bot Integration

Create a bot that:

  1. Watches for resolved support threads
  2. Extracts Q&A with user consent
  3. Formats as MDX content
  4. Creates PR for review

Option C: Community Wiki

  1. Set up a wiki-style section in docs
  2. Allow community contributions
  3. Moderate for quality
  4. Cross-link with Discord

Content Template

---
title: "[Question from Discord]"
description: "Community answer to: [question summary]"
source: "Discord #help channel"
contributors: ["@username1", "@username2"]
date: "YYYY-MM-DD"
---

# [Question]

**Asked by**: @username in #channel

[Original question text]

## Solution

[Accepted answer or solution]

## Discussion

[Key points from the thread]

## Related Resources

- [Link to docs](/docs/relevant-page)
- [Discord thread](discord-link) - Join the conversation

Read the full file on GitHub · 112 lines

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. 10d ago First seen · 112 lines · 0 tokens per session scan A e4b3c1894772

Subscribe to this mod's changes

sonicjs-seo-discord-sync is a command published in the GitHub repository SonicJs-Org/sonicjs (1,700 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 637 tokens. 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-30.