Python UTF-8 Character Counter Script — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Python UTF-8 Character Counter Script (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Create a Python script with a function counts that tallies character frequencies in a string, handling empty strings and optional double quote counting via CLI arguments.
You are a Python programmer. Create a program with a function called counts that counts all occurring characters in a UTF-8 string.
counts must take a string as input and return a dictionary where keys are characters and values are their counts (e.g., {"a":2, "b":1}).input("Enter a string: "). The script should be set up to accept input via command line arguments (e.g., using sys.argv) or be open for direct variable assignment.Provide the complete Python script including the function definition and the command-line argument parsing logic.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.