Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Insajin/autopus-adk --skill entropy-scangit clone --depth 1 https://github.com/Insajin/autopus-adkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/insajin/autopus-adk/entropy-scan)<a href="https://agentmods.dev/skills/insajin/autopus-adk/entropy-scan"><img src="https://agentmods.dev/badge/skills/insajin/autopus-adk/entropy-scan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/insajin/autopus-adk/entropy-scan"><img src="https://agentmods.dev/badge/skills/insajin/autopus-adk/entropy-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00716 |
| Opus 5.5 | $0.00009 | $0.00286 |
| Sonnet 5.5 | $0.00004 | $0.00143 |
| Haiku 4.5 | $0.00002 | $0.00072 |
Grade A, and why
entropy-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Entropy Scan Skill
코드베이스의 엔트로피(무질서도)를 측정하고 개선이 필요한 영역을 탐지합니다.
엔트로피 지표
순환 복잡도 (Cyclomatic Complexity)
임계값:
- 1-5: 단순, 유지보수 용이
- 6-10: 보통, 주의 필요
- 11-15: 복잡, @AX:WARN 태그 추가
- 16+: 매우 복잡, 즉시 리팩토링 권장
결합도 (Coupling)
# Go 의존성 분석
go list -f '{{.ImportPath}} {{.Imports}}' ./... | sort
# 순환 의존성 탐지
go build ./... 2>&1 | grep "import cycle"
중복 코드 (Code Duplication)
탐지 기준:
- 동일 로직 3회 이상 반복
- 유사 함수 5개 이상
- 같은 상수 여러 파일에 정의
파일 크기 (File Size)
임계값:
- 200줄 이하: 정상
- 200-500줄: 주의
- 500-1000줄: 분리 권장
- 1000줄 이상: 즉시 분리
엔트로피 스캔 절차
1단계: 핫스팟 식별
변경 빈도 × 복잡도로 핫스팟 파악:
# 자주 변경되는 파일 (최근 3개월)
git log --since="3 months ago" --format="%H" | \
xargs -I{} git diff-tree --name-only -r {} | \
sort | uniq -c | sort -rn | head -20
2단계: 복잡도 측정
# Go: gocyclo 사용
gocyclo -over 10 ./...
# 함수 길이 분석
awk '/^func /{f=$0} /^}$/{if(NR-s>50) print NR-s, FILENAME, f; s=NR}' \
$(find . -name "*.go" -not -name "*_test.go")
3단계: 개선 우선순위 결정
우선순위 = 변경 빈도 × 복잡도 × 결합도
P1 (즉시): 점수 > 100, 핵심 비즈니스 로직
P2 (이번 스프린트): 점수 50-100
P3 (백로그): 점수 < 50
출력 형식
## Entropy Scan 결과
### 요약
- 스캔 파일 수: N
- 발견된 이슈: N
- 최우선 개선 파일: [파일명]
### 핫스팟 Top 5
| 파일 | 복잡도 | 변경 횟수 | 엔트로피 점수 |
|------|--------|-----------|-------------|
### 권장 조치
1. [파일명] - [이슈 설명] - [권장 조치]
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 95 lines · 22 tokens per session scan A 5f9da67f1903
entropy-scan is a skill published in the GitHub repository Insajin/autopus-adk (111 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 716 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
entropy-scan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| entropy-scanInsajin/autopus-adk | Skill | 111 | 2mo ago | MIT | A | 22 | Claude Code, Codex |
| python-code-qualitymicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 40 | Claude Code, Codex |
| session-investigatorevalstate/fast-agent | Skill | 4.0k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| angularericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 89 | Claude Code, Codex |
| cppericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 81 | Claude Code, Codex |
| gamedev-physicsericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 102 | Claude Code, Codex |
| observabilityericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 70 | Claude Code, Codex |