Skip to content
cccskills
FreePublished on GitHub

sourcesage-cli

Generate AI-friendly repository documentation with the SourceSage CLI. Use when Codex needs to run `sage` or `sourcesage` to create `.SourceSageAssets/Repository_summary.md`, analyze the current repository or another local repository, switch the output language between English and Japanese, use `--lite` to keep the summary small, change the output directory, or optionally create a deprecated tag-diff release report with `--diff`.

The English summary is being prepared. Showing the original description.

See how to install

Files included (15)

  • SKILL.md3.9 KB
  • .gitignore3.4 KB
  • .SourceSageignore2.1 KB
  • AGENTS.md2.4 KB
  • CHANGELOG.md663 B
  • CLAUDE.md3.8 KB
  • CODE_OF_CONDUCT.md788 B
  • CONTRIBUTING.md1.0 KB
  • LICENSE1.0 KB
  • pyproject.toml1.8 KB
  • README.ja.md4.1 KB
  • README.md3.8 KB
  • requirements.txt35 B
  • SECURITY.md566 B
  • test_results.txt1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

SourceSage CLI

Overview

Use the SourceSage CLI from this repository checkout to generate repository summaries for the current repo or another local repo.

Prefer the local checkout over assuming sourcesage is globally installed. In this repository layout, the SourceSage tool root is the directory that contains this SKILL.md.

Workflow

  1. Resolve the SourceSage tool root and the target repository.

    • If the user did not specify another repo, analyze the current workspace.
    • If the current workspace is not the SourceSage repo, run SourceSage from its own checkout with uv run --directory <sourcesage-root> sage ....
  2. Pick the smallest command that satisfies the request.

    • Current repo summary: uv run sage
    • Current repo summary in lite mode: uv run sage --lite
    • Current repo summary in Japanese: uv run sage -l ja
    • Another repo with default output inside that repo: uv run --directory <sourcesage-root> sage --repo "<target-repo>"
    • Another repo in lite mode: uv run --directory <sourcesage-root> sage --repo "<target-repo>" --lite
    • Another repo with explicit output directory: uv run --directory <sourcesage-root> sage --repo "<target-repo>" -o "<output-dir>"
    • Deprecated diff report: uv run --directory <sourcesage-root> sage --repo "<target-repo>" --diff
  3. Verify the generated artifacts after every run.

    • Repository summary: <output-dir>/.SourceSageAssets/Repository_summary.md
    • Deprecated diff report: <output-dir>/.SourceSageAssets/RELEASE_REPORT/Report_<latest-tag>.md
    • Open the generated markdown and summarize the important results instead of only reporting that the command ran.
    • In --lite mode, confirm the summary keeps the tree, Git info, statistics, and root README files while omitting the ## File Contents section.
  4. Report side effects and command mismatches.

    • Expect SourceSage to create <repo>/.SourceSageignore if it does not exist.
    • Treat --ignore-file as the supported ignore override.
    • Do not rely on --use-ignore unless the CLI is updated and re-verified, because the current CLI does not expose that flag.

Command Notes

  • Prefer uv run sage inside the SourceSage repo because pyproject.toml defines both sage and sourcesage entry points.
  • Prefer uv run --directory <sourcesage-root> sage ... outside the SourceSage repo so the command uses this checkout without requiring a global install.
  • Fall back to sourcesage or sage directly only when the package is already installed and uv is unavailable.
  • Use -l ja or -l en for output language.
  • Use --lite for first-pass exploration when ignore rules are not tuned yet or when full file excerpts would make the summary too large.
  • Use -o when the user wants artifacts outside the repo root.
  • Use --repo to analyze another repository from this checkout.

Validation

  • Run the chosen command instead of only describing it.
  • Confirm that the expected markdown file exists.
  • Read the generated output and report the path plus a short summary of what was produced.
  • Re-run the exact command after changing any execution instructions or docs that mention it.

Avoid

  • Do not assume README examples are authoritative when they differ from sourcesage/cli.py.
  • Do not overwrite existing artifacts silently when the user asked for a specific destination and it already contains results.
  • Do not describe SourceSage usage from memory when you can inspect pyproject.toml and sourcesage/cli.py in this repo.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use this skill whenever the user wants to create or improve a presentation for an academic context — conference papers, seminar talks, thesis defenses, grant briefings, lab meetings, invited lectures, or any presentation where the audience will evaluate reasoning and evidence. Triggers include: 'conference talk', 'seminar slides', 'thesis defense', 'research presentation', 'academic deck', 'academic presentation'. Also triggers when the user asks to 'make slides' in combination with academic content (e.g., 'make slides for my paper on X', 'create a presentation for my dissertation defense', 'build a deck for my grant proposal'). This skill governs CONTENT and STRUCTURE decisions. For the technical work of creating or editing the .pptx file itself, also read the pptx SKILL.md.

The English summary is being prepared. Showing the original description.

skillmds/skillmd249Updated Oct 14, 2026

adp

Free

Redpanda's Agentic Data Plane: governance infrastructure for building, running, and governing AI agents and MCP servers, plus a proxying AI Gateway for LLM providers, operated via `rpk ai` and the ADP API. Use when creating or managing AI agents (managed or self-managed) via `rpk ai agent` or `AgentRegistryService`; configuring MCP servers (remote or managed catalog, code mode, auth); setting up LLM providers or querying models via `rpk ai llm`/`rpk ai model` or the AI Gateway proxy; or configuring budgets, guardrails, or Cedar access-control policies through the governance APIs. Also covers reading agent transcripts and spending insights, and wiring OAuth clients or providers to the aigw Authorization Server. For the separate rpk cloud mcp control-plane MCP server, see `/redpanda:rpk-cloud`.

The English summary is being prepared. Showing the original description.

skillmds/skillmd249Updated Oct 14, 2026

ads

Free

Operate professional paid advertising across Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, Apple, Amazon, Reddit, Pinterest, Snapchat, and X. Use for account intake, source-grounded audits, strategy, budget and measurement planning, creative production, experiments, reporting, monitoring, and explicitly approved campaign changes. Also trigger on PPC, paid social, retail media, attribution, tracking, landing pages, cross-platform conversion totals, negative keywords or search terms, beta-feature scoring, stale platform claims, API-token or credential setup, campaign deletion, and safe Claude Ads installation or uninstall.

The English summary is being prepared. Showing the original description.

skillmds/skillmd249Updated Oct 14, 2026

Audit Apple Ads measurement, AdServices and AdAttributionKit, campaign and keyword structure, Search Match, App Store placements, custom product pages, bidding, budgets, MMP reconciliation, and policy. Use for Apple Ads, Apple Search Ads, App Store ads, Search Match, custom product pages, AdServices, or Apple app-install campaigns.

The English summary is being prepared. Showing the original description.

skillmds/skillmd249Updated Oct 14, 2026

Research competitor paid-ad presence, messaging, creative, formats, landing pages, keyword and auction signals, transparent ad libraries, and strategic gaps across supported platforms. Use for competitor ads, ad libraries, ad spy, competitive PPC analysis, competitor creative, Google Ads Transparency, Meta Ad Library, or paid-media competitor research.

The English summary is being prepared. Showing the original description.

skillmds/skillmd249Updated Oct 14, 2026

Extract a public-safe brand and offer profile for paid advertising from an authorized website and operator input. Triggers on: brand DNA, brand profile, brand identity, brand style, brand colors, brand voice, visual identity, style guide, website brand analysis.

The English summary is being prepared. Showing the original description.

skillmds/skillmd249Updated Oct 14, 2026

See all skills by skillmds

Report a problem with this skill