sourcesage-cli
Generate AI-friendly repository documentation with the SourceSage CLI
Install / Use
npx skills add Sunwood-ai-labs/SourceSageInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of sourcesage-cli
sourcesage-cli scores 59/100 on our quality scale, 1129th of 1,171 Content & Media skills we index.
Its SKILL.md is 3.9 KB long, split into 6 sections and no code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-10-19 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 74/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
sourcesage-cli compared with similar skills
All 4 of these similar skills score higher than sourcesage-cli; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| sourcesage-cli (this skill)by Sunwood-ai-labs | 59 | 0 | 8mo ago | SKILL.md |
| siyuanby siyuan-note | 100 | 47.1k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 143.4k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install sourcesage-cli?
- Run
npx skills add Sunwood-ai-labs/SourceSage. The install tabs above show the steps for each supported agent. - Which AI agents does sourcesage-cli work with?
- It is written for OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is sourcesage-cli safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 74/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is sourcesage-cli still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubname: sourcesage-cli
description: 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.
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
-
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 ....
-
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
- Current repo summary:
-
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
--litemode, confirm the summary keeps the tree, Git info, statistics, and root README files while omitting the## File Contentssection.
- Repository summary:
-
Report side effects and command mismatches.
- Expect SourceSage to create
<repo>/.SourceSageignoreif it does not exist. - Treat
--ignore-fileas the supported ignore override. - Do not rely on
--use-ignoreunless the CLI is updated and re-verified, because the current CLI does not expose that flag.
- Expect SourceSage to create
Command Notes
- Prefer
uv run sageinside the SourceSage repo becausepyproject.tomldefines bothsageandsourcesageentry 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
sourcesageorsagedirectly only when the package is already installed anduvis unavailable. - Use
-l jaor-l enfor output language. - Use
--litefor first-pass exploration when ignore rules are not tuned yet or when full file excerpts would make the summary too large. - Use
-owhen the user wants artifacts outside the repo root. - Use
--repoto 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.tomlandsourcesage/cli.pyin this repo.
Related Skills
siyuan
47.1kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
143.4kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
