Agent skill

Polylith Workspace Inspection

by DavidVujic in DavidVujic/python-polylith

Show brick × project usage with poly info — which projects use which bricks, plus workspace counts.

MITAuto-check passed

Install Polylith Workspace Inspection

skills CLI
$ npx skills add DavidVujic/python-polylith --skill polylith-workspace-inspection -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DavidVujic/python-polylith polylith-workspace-inspection --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/polylith/polylith-workspace-inspection .claude/skills/polylith-workspace-inspection && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
polylith-workspace-inspection
GitHub stars
554
Token cost
~819 tokens
SKILL.md length
242 words
Files
1
Skills in repo
37
Repo updated
First seen
Licence
MIT

At a glance

Show brick × project usage with poly info — which projects use which bricks, plus workspace counts.

  • Workspace overview
  • SKILL.md covers Quick command, Command reference, Examples and Notes for the agent
  • Calls uv and poetry
  • Which projects use X

What it does

Polylith Workspace Inspection is an agent skill from DavidVujic/python-polylith. Show brick × project usage with poly info — which projects use which bricks, plus workspace counts. Use for "workspace overview", "which projects use X", "find orphaned bricks". For brick-to-brick dependencies, use polylith-dependency-visualization.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Tooling support for the Polylith Architecture in Python. The licence is MIT.

When your agent uses it

  • Workspace overview
  • Which projects use X
  • Find orphaned bricks

Example prompts

  • “workspace overview”
  • “which projects use X”
  • “find orphaned bricks”
  • “/polylith-workspace-inspection”

What it can do on your machine

Read from SKILL.md and the folder at commit a7a80f2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • poetry

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Polylith Workspace Inspection loads about 819 tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 242 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~819

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DavidVujic/python-polylith at commit a7a80f2, republished under its MIT licence (© DavidVujic). 242 words, ~819 tokens.

Download SKILL.mdSave it as .claude/skills/polylith-workspace-inspection/SKILL.md (or your agent's skills folder).
name
polylith-workspace-inspection
description
Show **brick × project usage** with `poly info` — which projects use which bricks, plus workspace counts. Use for "workspace overview", "which projects use X", "find orphaned bricks". For brick-to-brick dependencies, use `polylith-dependency-visualization`.

Workspace Inspection Skill

Quick command

bash
uv run poly info

Command prefix: If you do not know the package manager, list lock files with ls uv.lock poetry.lock pdm.lock 2>/dev/null (a pyproject.toml is always present, so it tells you nothing on its own). Use uv run poly (uv), poetry poly (poetry), pdm run poly (pdm), hatch run poly (hatch), or poly (activated venv). Examples below use uv run.

poly info vs poly deps:

  • poly info → brick × project (which project uses which brick).
  • poly deps → brick × brick (which brick uses which brick). Load polylith-dependency-visualization. 💡 A brick that is - in every project except development is orphaned in production — flag it for the user.

Command reference

OptionDefaultDescription
--shortfalseCompact view — for workspaces where the full matrix doesn't fit.
--savefalsePersist the report to a file under the workspace's output dir.
--group—Show only projects in the named group(s) (comma-separated), defined in [tool.polylith.projects.groups].

Examples

bash
# Full matrix
uv run poly info

# Compact summary
uv run poly info --short

# Filter to a project group
uv run poly info --group hooks
Sample output
Workspace summary
projects: 6  components: 7  bases: 5  development: 1

  brick           consumer   message-api   aws lambda   fastapi   gcp fn   development
 ──────────────────────────────────────────────────────────────────────────────────────
  greeting           -            -             ✔          ✔        ✔          ✔
  kafka              ✔            ✔             -          -        -          ✔
  log                ✔            ✔             ✔          ✔        ✔          ✔
  greet_api          -            -             -          ✔        -          ✔
  message_api        -            ✔             -          -        -          ✔
  • Rows are bricks; columns are projects (rightmost = development).
  • ✔ = the brick is used by that project; - = not used.
  • The development column should be ✔ for every brick (enforced by poly sync); a - there means a brick was created but isn't yet known to the development project.

Notes for the agent

  • poly info exits 0 — it's a report, not a gate.
  • For wide workspaces, prefer --short or --group <name>.
  • To turn this report into action: cross-reference orphans (only development = ✔) with poly deps --brick <name> to confirm nothing imports them, then propose deletion to the user.

© DavidVujic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/polylith/polylith-workspace-inspection of DavidVujic/python-polylith.

Open the folder on GitHubat commit a7a80f2

Compare with similar skills

Polylith Workspace Inspection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Polylith Workspace Inspection compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Polylith Workspace Inspection this skillDavidVujic/python-polylith554—~819Automated safety check: PassMIT
Node Inspect Debuggeropenclaw/openclaw392k1 repos~894Automated safety check: PassMIT
Blender Motion State Inspectionaffaan-m/ECC276k1 repos~2kAutomated safety check: PassMIT
Inspect Diskfelixrieseberg/windows9524k—~1.3kAutomated safety check: PassCustom licence
Inspect AIa2ui-project/a2ui17k1 repos~226Automated safety check: PassApache-2.0
Author Infothedaviddias/Front-End-Checklist74k—~422Automated safety check: PassMIT

Similar skills

  • Node Inspect Debugger

    openclaw/openclaw

    Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles.

    392k GitHub starsUsed in 1 repo~894 tokens
    Frontend & DesignAuto-check passed
  • A skill your agent uses when inspecting Blender characters, rigs, poses, animation retargeting, ground contact, facing direction, or model-vs-motion alignment where screenshots alone are not enough.

    276k GitHub starsUsed in 1 repo~2k tokens
    Game DevelopmentAuto-check passed
  • Inspect Disk

    felixrieseberg/windows95

    Inspect or modify the Windows 95 disk image offline with mtools — no QEMU, no Electron, no boot.

    24k GitHub stars~1.3k tokensUpdated 29 days ago
    Auto-check passed
  • Inspect AI

    a2ui-project/a2ui

    Useful when working with the Inspect AI evaluation framework (e.g., in the eval/ directory).

    17k GitHub starsUsed in 1 repo~226 tokens
    DevelopmentAuto-check passed
  • Author Info

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing metadata, crawlability, structured data, or indexability related to Implement comprehensive author markup.

    74k GitHub stars~422 tokensUpdated 4 days ago
    Marketing & SEOAuto-check passed
  • Performing Ssl Tls Inspection Configuration

    mukul975/Anthropic-Cybersecurity-Skills

    Configure SSL/TLS break-and-inspect on next-generation firewalls and forward proxies to decrypt, inspect, and re-encrypt HTTPS traffic for malware and exfiltration detection, including deploying…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    SecurityAuto-check: notes

More from DavidVujic/python-polylith

All 37 skills in this repo
  • Polylith Base Creation

    DavidVujic/python-polylith

    Create a Polylith base with poly create base — the entry point of a deployable application (HTTP API, CLI, message-queue consumer, AWS Lambda handler, GCP Cloud Function, scheduled job).

    554 GitHub stars~757 tokensUpdated 5 days ago
    Auto-check passed
  • Polylith Check

    DavidVujic/python-polylith

    Validate a Polylith workspace with poly check — the canonical CI gate.

    554 GitHub stars~972 tokensUpdated 5 days ago
    Auto-check passed
  • Polylith Component Creation

    DavidVujic/python-polylith

    Create a Polylith component with poly create component — a reusable, isolated brick implementing business logic, a feature, a domain module, or a capability.

    554 GitHub stars~800 tokensUpdated 5 days ago
    Auto-check passed
  • Polylith Dependency Management

    DavidVujic/python-polylith

    Add or manage third-party dependencies in a Polylith workspace.

    554 GitHub stars~643 tokensUpdated 5 days ago
    Auto-check passed
  • Polylith Dependency Visualization

    DavidVujic/python-polylith

    Visualize brick × brick dependencies with poly deps — find circular dependencies, inspect a brick's public interface, and detect interface-bypass violations.

    554 GitHub stars~906 tokensUpdated 5 days ago
    Auto-check passed
  • Polylith Diff

    DavidVujic/python-polylith

    List Polylith bricks whose implementation changed since a git tag using poly diff.

    554 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed

Questions about Polylith Workspace Inspection

What does Polylith Workspace Inspection do?

Show brick × project usage with poly info — which projects use which bricks, plus workspace counts. Polylith Workspace Inspection is an agent skill from DavidVujic/python-polylith. Show brick × project usage with poly info — which projects use which bricks, plus workspace counts.

When should I use Polylith Workspace Inspection?

Polylith Workspace Inspection fits situations like: workspace overview; which projects use X; find orphaned bricks.

How do I install Polylith Workspace Inspection in Claude Code?

Run `npx skills add DavidVujic/python-polylith --skill polylith-workspace-inspection -a claude-code`. Or copy the skill folder (.agents/skills/polylith/polylith-workspace-inspection in DavidVujic/python-polylith) into .claude/skills/polylith-workspace-inspection in your project. Claude Code loads it when a task matches its description.

How do I install Polylith Workspace Inspection in Codex?

Run `npx skills add DavidVujic/python-polylith --skill polylith-workspace-inspection -a codex`. Or copy the skill folder (.agents/skills/polylith/polylith-workspace-inspection in DavidVujic/python-polylith) into .agents/skills/polylith-workspace-inspection in your project. Codex loads it when a task matches its description.

Can I use Polylith Workspace Inspection in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DavidVujic/python-polylith --skill polylith-workspace-inspection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/polylith-workspace-inspection, .gemini/skills/polylith-workspace-inspection, .github/skills/polylith-workspace-inspection and .opencode/skills/polylith-workspace-inspection in your project.

What does Polylith Workspace Inspection need to run?

Going by SKILL.md and its folder, Polylith Workspace Inspection needs the command-line tools its instructions call (uv and poetry).

Does Polylith Workspace Inspection access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Polylith Workspace Inspection safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Polylith Workspace Inspection use?

Polylith Workspace Inspection is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Polylith Workspace Inspection use?

About 819 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Polylith Workspace Inspection?

Skills that share tags, products or a category with Polylith Workspace Inspection: Node Inspect Debugger (openclaw/openclaw, 392k stars), Blender Motion State Inspection (affaan-m/ECC, 276k stars), Inspect Disk (felixrieseberg/windows95, 24k stars) and Inspect AI (a2ui-project/a2ui, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Polylith Workspace Inspection?

DavidVujic (a GitHub user) maintains it in DavidVujic/python-polylith, which has 554 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on October 4, 2026.

Source: DavidVujic/python-polylith on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.