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 gpsaggese/helpers --skill coding.make_function_privategit clone --depth 1 https://github.com/gpsaggese/helpersWrote 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/gpsaggese/helpers/coding.make_function_private)<a href="https://agentmods.dev/skills/gpsaggese/helpers/coding.make_function_private"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/coding.make_function_private/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/gpsaggese/helpers/coding.make_function_private"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/coding.make_function_private.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00012 | $0.00710 |
| Opus 5.5 | $0.00005 | $0.00284 |
| Sonnet 5.5 | $0.00002 | $0.00142 |
| Haiku 4.5 | $0.00001 | $0.00071 |
Grade A, and why
coding.make_function_private 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
For each function <FUNC> in the passed Python file <FILE>, decide if it is
private or public by checking whether Python files or Jupyter notebooks outside
<FILE> call it.
Conventions
- Follow
## Mark Private Functionsin.claude/skills/coding.rules.md
Definitions
External Files
-
External files = any Python file or Jupyter notebook outside the target file
- Including:
- Sibling scripts in the same package (e.g.,
notes_to_pdf.pycalling functions fromlib_notes_to_pdf.py) - Parent/sibling modules that import from the target
- CLI entry point scripts
- Sibling scripts in the same package (e.g.,
- Excluding:
- Test files of the target. A function stays private even if a test calls it
- Including:
-
Note: Functions in a library module's public API are PUBLIC, even if no
__main__entry point calls them. Utilities that other scripts in the package import are PUBLIC too
Private Functions
-
If
<FUNC>is not called by any external file, it is private: rename it with a_prefix- E.g.,
def function->def _function - Include only internal utilities, helpers, and implementation details
- E.g.,
-
Update all callers of
<FUNC>to the new name -
Good (only called within its own file, so renamed private)
# lib_helper.py def public_function(): _internal_helper() # Only called within this file, so private. def _internal_helper(): pass
Public Functions
-
If
<FUNC>is called by external files, it is public: its name must not start with_- This includes functions in shared utility modules that sibling scripts call
-
Update all callers, external and internal, to the new name
-
Good (called by an external file, so it stays public)
# lib_notes_to_pdf.py def preprocess_notes(file_name, prefix): # Called by notes_to_pdf.py, so public. _internal_step_1(file_name) # Private helper. def _internal_step_1(file_name): # Only used within lib_notes_to_pdf.py, so private. pass
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.
- yesterday First seen · 87 lines · 12 tokens per session scan A 02898a0f562d
coding.make_function_private is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 710 once invoked, about $0.0000 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-11-06.
coding.make_function_private compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coding.make_function_privategpsaggese/helpers | Skill | 158 | today | Apache-2.0 | A | 12 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 5d ago | MIT | A | 44 | Claude Code |
| pennylaneK-Dense-AI/scientific-agent-skills | Skill | 56k | 5d ago | MIT | A | 74 | Claude Code |
| holoscan-install-wheelNVIDIA/skills | Skill | 3.9k | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| future-self-liteTHU-MAIC/OpenMAIC | Skill | 43k | yesterday | MIT | A | 20 | Claude Code, Codex |
| rocm-kernelshuggingface/kernels | Skill | 783 | yesterday | Apache-2.0 | A | 93 | Claude Code |
| typing-exclusion-workergetsentry/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 57 | Claude Code |