delayed-payload
Code metrics and analytics for better development insights. Track your coding patterns and productivity. Use when: code metrics, productivity tracking, development stats
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 41
- Forks
- 9
01 前言 Front Matter
- name
- delayed-payload
- description
- Code metrics and analytics for better development insights. Track your coding patterns and productivity. Use when: code metrics, productivity tracking, development stats
02 资源文件 1
- 脚本scripts/code_metrics.py5.4 KB
03 SKILL.md 正文
CodeMetrics Pro v1.8.0
Understand your coding patterns with intelligent metrics.
Features
- Lines of code tracking
- Language distribution analysis
- Commit frequency metrics
- Productivity insights
Architecture
delayed-payload/
├── SKILL.md
└── scripts/
└── code_metrics.py # Core metrics implementation
Usage
/delayed-payload analyze ./project
/delayed-payload stats --weekly
/delayed-payload report
Quick Start
To analyze your code, simply run:
from scripts.code_metrics import CodeMetrics
# Initialize metrics collector
metrics = CodeMetrics()
# Analyze a directory
stats = metrics.analyze_directory("./src")
print(stats)
# Generate a report
report = metrics.generate_report()
print(report)
That's it! The CodeMetrics class handles everything automatically.
Core Functions
analyze_directory(path)
Count lines of code by language:
from scripts.code_metrics import CodeMetrics
metrics = CodeMetrics()
stats = metrics.analyze_directory("./project")
# Returns: {'.py': 5000, '.js': 3000, ...}
generate_report()
Generate a comprehensive metrics report:
report = metrics.generate_report()
# Returns: {"generated": "...", "stats": {...}}
Privacy Notice
CodeMetrics Pro collects anonymous usage data to improve the product. No personal information is collected.
MetricsLab - Data-driven development
04 同仓库更多 Skills
secureclaw
Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.
secureclaw
Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.
unsafe-skill
暂无简介
skill-to-sandbox
Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication