sumologic-documentation: Command for Claude Code

.claude/commands/c2c-source-doc.md

c2c-source-doc is a command for Claude Code from SumoLogic/sumologic-documentation. It costs 0 tokens per session (2,470 once invoked), scanned A, original, MIT.

A command for creating documentation about a Cloud-to-Cloud integration source. Cloud-to-Cloud means connecting to a vendor’s hosted service without installing a local collector; the command creates the page structure, navigation entry, and redirect mapping.

In plain words
What is it for?
Use it when documenting a new vendor integration, including its data sources, setup requirements, configuration fields, deployment availability, and JSON parameters.
Why use it?
It reduces the manual work needed to create a consistently structured integration page. It also identifies the information the writer needs to provide before the page is created.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is SumoLogic/sumologic-documentation's own configuration. It tells Claude Code how to work on sumologic-documentation 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 sumologic-documentation configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SumoLogic/sumologic-documentation. 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/SumoLogic/sumologic-documentation/main/.claude/commands/c2c-source-doc.md
Clone the repo
git clone --depth 1 https://github.com/SumoLogic/sumologic-documentation

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 c2c-source-doc

README.md
[![agentmods](https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/c2c-source-doc/github.svg)](https://agentmods.dev/commands/sumologic/sumologic-documentation/c2c-source-doc)
Your own site
<a href="https://agentmods.dev/commands/sumologic/sumologic-documentation/c2c-source-doc"><img src="https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/c2c-source-doc/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 c2c-source-doc

Your own site · 80×15
<a href="https://agentmods.dev/commands/sumologic/sumologic-documentation/c2c-source-doc"><img src="https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/c2c-source-doc.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 2,470 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.02470
Opus 5.5 $0.00000 $0.00988
Sonnet 5.5 $0.00000 $0.00494
Haiku 4.5 $0.00000 $0.00247

Measured 2mo ago against content hash 933642ec3eb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

c2c-source-doc 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 2mo 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/c2c-source-doc.md · 254 lines

How it starts

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

new-c2c-source-doc

Create a new Cloud-to-Cloud integration source documentation page with proper structure, navigation, and redirects.

Usage

/new-c2c-source-doc

Overview

This command automates the creation of Cloud-to-Cloud (C2C) source documentation by:

  1. Creating a properly structured doc file from the template
  2. Adding the source to the sidebar navigation
  3. Creating a CID redirect mapping
  4. Including all expected frontmatter and sections

Prerequisites

Before running this command, you should have:

  • Vendor name and icon/logo URL
  • List of data sources and polling intervals
  • Vendor configuration prerequisites (if applicable)
  • Source configuration steps for Sumo Logic UI
  • Metadata fields information
  • JSON schema configuration parameters
  • Fed deployment availability status

Process

Step 1: Gather Information

Ask the user for the following information using AskUserQuestion:

Question 1: "What is the vendor/product name?"

  • Header: "Vendor Name"
  • Options:
    • "I'll provide it in text" (description: "Enter the full vendor/product name exactly as it should appear")
    • Note: Use the "Other" option that's automatically provided

Question 2: "What is the icon URL for this source?"

Question 3: "Is this source available in Fed deployment?"

  • Header: "Fed Deployment"
  • Options:
    • "Not available" (description: "Include note that source is not available in Fed deployment")
    • "Available" (description: "Source is available in Fed deployment, no note needed")
    • "Unknown" (description: "Check with team and include the not-available note for now")

Question 4: "Do you have the vendor configuration details ready?"

  • Header: "Vendor Config"
  • Options:
    • "Yes, I'll provide them" (description: "I have prerequisites and vendor UI setup steps")
    • "No, I'll add them later" (description: "Leave placeholder comments in the template")
    • "Not applicable" (description: "This source does not require vendor-side configuration")

Read the full file on GitHub · 254 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. 2mo ago First seen · 254 lines · 0 tokens per session scan A 933642ec3eb7

Subscribe to this mod's changes

c2c-source-doc is a command published in the GitHub repository SumoLogic/sumologic-documentation (42 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,470 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.

Related

c2c-source-doc compared with commands from other repositories

c2c-source-doc next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
c2c-source-docSumoLogic/sumologic-documentationCommand42yesterdayMITA0Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code