Specification and documentation for Agent Skills
This report presents the forensic synthetic code analysis of agentskills/agentskills, a Python project with 23,022 GitHub stars. SynthScan v2.0 examined 2,214 lines of code across 26 source files, recording 29 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 14.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 29 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills-ref/tests/test_parser.py | 35 | def test_unclosed_frontmatter(): | STRING |
| LOW | skills-ref/tests/test_parser.py | 55 | def test_non_dict_frontmatter(): | STRING |
| LOW | skills-ref/tests/test_parser.py | 128 | def test_find_skill_md_prefers_uppercase(tmp_path): | STRING |
| LOW | skills-ref/tests/test_parser.py | 139 | def test_find_skill_md_accepts_lowercase(tmp_path): | CODE |
| LOW | skills-ref/tests/test_parser.py | 150 | def test_find_skill_md_returns_none_when_missing(tmp_path): | CODE |
| LOW | skills-ref/tests/test_parser.py | 158 | def test_read_properties_with_lowercase_skill_md(tmp_path): | CODE |
| LOW | skills-ref/tests/test_parser.py | 173 | def test_read_with_allowed_tools(tmp_path): | STRING |
| LOW | skills-ref/tests/test_prompt.py | 55 | def test_special_characters_escaped(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 41 | def test_invalid_name_uppercase(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 81 | def test_name_consecutive_hyphens(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 94 | def test_name_invalid_characters(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 107 | def test_name_directory_mismatch(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 134 | def test_valid_with_all_fields(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 150 | def test_allowed_tools_accepted(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 221 | def test_description_too_long(tmp_path): | STRING |
| LOW | skills-ref/tests/test_validator.py | 251 | def test_compatibility_too_long(tmp_path): | STRING |
| LOW | skills-ref/src/skills_ref/validator.py | 104 | def _validate_metadata_fields(metadata: dict) -> list[str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills-ref/src/skills_ref/parser.py | 31 | Parse YAML frontmatter from SKILL.md content. Args: content: Raw content of SKILL.md file Returns: | STRING |
| HIGH | skills-ref/src/skills_ref/parser.py | 68 | Read skill properties from SKILL.md frontmatter. This function parses the frontmatter and returns properties. I | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills-ref/src/skills_ref/__init__.py | 3 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 3 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 3 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 4 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 5 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 5 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 6 | CODE | |
| LOW | skills-ref/src/skills_ref/__init__.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/hooks/session-start.sh | 5 | # Check if Mintlify CLI is installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills-ref/src/skills_ref/__init__.py | 9 | __all__ = [ | CODE |