← Back to Skills Marketplace
wscats

Code Analysis Skills

by enoyao · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ✓ Security Clean
22562
Downloads
15
Stars
10
Active Installs
12
Versions
Install in OpenClaw
/install code-analysis-skills
Description
This skill produces a DESCRIPTIVE Git-history reflection report. It is intended ONLY for: (a) a developer running it on their own repository for self-reflect...
Usage Guidance
Install only for your own Git-history reflection or a team retrospective where every included author has explicitly consented. Do not use the generated reports for performance reviews, ranking, compensation, discipline, or surveillance, and store reports carefully because they contain identifiable work-history data.
Capability Assessment
Purpose & Capability
The capability matches the stated purpose: it reads local Git repositories and produces per-author Git-history metrics such as commits, timestamps, churn, ownership, style, and quality-adjacent artifacts. These are privacy-sensitive people-data signals, but they are central to the disclosed function.
Instruction Scope
The skill requires explicit usage-policy acknowledgement, defaults to the current local Git user, and requires both multi_author_team_retro and consented_authors for multi-author analysis. Consent is asserted by the caller rather than independently verified, so correct use depends on the user honoring the policy.
Install Mechanism
The package uses ordinary Python dependencies and a standard ClawHub/Python entry point. The publish script is maintainer tooling and does not install hooks, persistence, or privileged components.
Credentials
Local repository access is proportionate for Git-history analysis. Recursive repository discovery is optional, depth-limited, and still subject to the author-scope filters, but users should not point it at broad directories unless all discovered repositories are in scope.
Persistence & Privilege
No background worker, privilege escalation, credential harvesting, destructive file operations, or automatic network exfiltration was found. The skill writes reports only when requested through output paths or PDF generation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install code-analysis-skills
  3. After installation, invoke the skill by name or use /code-analysis-skills
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
Republish of v1.1.0 with a corrected pure-semver version string. ClawHub UI was rendering vv1.1.0 because the previous publish included a leading v. No code changes vs v1.1.0.
vv1.1.0
Defence-in-depth + doc cleanup: replaced misleading -a Your-Name README and SKILL examples (the flag was removed in v1.0.7) with the real --multi-author-team-retro + --consented-author flow; dropped weekday-distribution fields friday_ratio and monday_ratio from cadence_signal_analyzer to remove the late-week-skew repackaging path; reframed every analyzer docstring from per-author to per-consented-identity and clarified that BaseAnalyzer authors arg is an internal consent-gated channel populated only by src.main; documented that scanner.py performs filesystem enumeration only and that --scan-all does not widen people-data exposure because each repo still passes through the consent gate; ReflectionNarrator.narrate now accepts a consented_identities allow-list and silently drops any unconsented identity that slipped past the upstream gate.
vv1.0.9
Doc/code alignment + dead-code purge: removed -a/--author from all docs (CLI never had it after v1.0.7); documented --multi-author-team-retro and --consented-author in every README/SKILL table; updated project tree to point at cadence_signal_analyzer.py and narrator/reflection_narrator.py; deleted unused *_score intermediates (sparsity_score / trivial_score / non_code_score / late_week_skew_score / add_delete_imbalance_score / disappearance_score / low_output_score) from cadence analyzer; removed legacy 'formerly DeveloperEvaluator' callout from narrator header.
vv1.0.8
Structural safety overhaul: self-scope by default; cross-author analysis requires --multi-author-team-retro plus per-person --consented-author; removed env-var bypass for the consent gate; dropped composite 0-100 score, S/A/B/C/D/E/F letter band, verdict line, leaderboard and cross-author comparison tables from every output format; dropped pylint dependency; removed legacy report.md sample.
vv1.0.7
Reframed as a Git-history reflection tool: descriptive metrics only, removed people-ranking framing, added mandatory usage-policy gate (--i-have-consent), neutralized report wording, replaced leaderboards with alphabetical overviews.
v1.0.6
Version 1.0.6 - Added a direct link to the project's GitHub repository at the top of documentation files. - Improved clarity and navigation in documentation for easier user access. - No functional code or API changes; updates are limited to documentation improvements.
v1.0.5
- Added multilingual natural language examples (English, 中文, 日本語, 한국어, Español, Français, Deutsch) for easier usage and discovery. - Improved usage guidance: clarified natural language triggering as the recommended method. - Updated documentation structure for better readability and quick reference. - No changes to analysis logic or CLI features; only documentation and usage instructions were updated.
v1.0.4
**Skill version 1.0.4 changelog** - Added a new section describing natural language skill plugin usage, enabling analysis via conversation without CLI commands. - Updated documentation to highlight "Use as a Skill Plugin" for user ease. - Clarified that the skill can now identify repository and run analysis automatically in conversational contexts. - No changes to functionality or parameters. Documentation enhanced for better usability.
v1.0.3
**Changelog for code-analysis-skills v1.0.3** - Added Chinese-language skill documentation (SKILL.cn.md) for improved accessibility. - Rewrote SKILL.md in concise English with clearer structure, usage, and parameters. - Added Quick Start, CLI parameter reference table, and streamlined workflow instructions to SKILL.md. - Improved emphasis on privacy and appropriate usage in documentation. - No changes to core functionality—documentation only.
v1.0.2
**Major update introducing developer evaluation, "slacking index", and PDF reporting.** - Added slacking analyzer to assess developer "摸鱼指数" (slacking index) and related behavioral patterns. - Introduced comprehensive developer evaluation with direct scoring, strengths, weaknesses, and actionable suggestions. - Expanded output formats to support PDF reports, in addition to Markdown, HTML, and JSON. - Enhanced report content: now includes developer scorecards, rankings, and detailed explanations for each evaluation. - Updated documentation to reflect new usage scenarios, privacy guidance, evaluation criteria, and detailed output samples. - Added new modules for slacking analysis, scoring logic, and PDF generation in the codebase.
v1.0.1
- Added a new Chinese-language README file (README.CN.md) for improved accessibility. - Updated README.md with minor revisions (no functional changes to the skill itself).
v1.0.0
Initial release of code-analysis skill. - Analyze and compare Git repositories for commit habits, work routines, development efficiency, code style, and code quality. - Supports scanning a single repo or all repos in a directory, filtering by author, date range, and branch. - Generates structured reports in markdown (default), JSON, or HTML formats. - Provides detailed findings and comparisons across five dimensions: commit habits, work habits, efficiency, code style, and quality. - Includes command-line scripts and modular analyzers for flexible usage. - Reference guide available for metric definitions and interpretations.
Metadata
Slug code-analysis-skills
Version 1.1.1
License MIT-0
All-time Installs 758
Active Installs 10
Total Versions 12
Frequently Asked Questions

What is Code Analysis Skills?

This skill produces a DESCRIPTIVE Git-history reflection report. It is intended ONLY for: (a) a developer running it on their own repository for self-reflect... It is an AI Agent Skill for Claude Code / OpenClaw, with 22562 downloads so far.

How do I install Code Analysis Skills?

Run "/install code-analysis-skills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Code Analysis Skills free?

Yes, Code Analysis Skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Code Analysis Skills support?

Code Analysis Skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Code Analysis Skills?

It is built and maintained by enoyao (@wscats); the current version is v1.1.1.

💬 Comments