coding.fix_param_use

coding.fix_param_use is a skill for Claude Code from gpsaggese/helpers. It costs 13 tokens per session (469 once invoked), scanned A, original, Apache-2.0.

A Python code-style checker and fixer for function calls. It makes required arguments positional, optional arguments named, and constants match the names of the parameters they fill.

In plain words
What is it for?
Use it to update call sites in a Python file so required and optional arguments follow the project's conventions.
Why use it?
It removes inconsistent call patterns that can make function usage harder to read or maintain. The rules also make the relationship between constants and parameters clearer.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to update call sites in a Python file so required and optional arguments follow the project's conventions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpsaggese/helpers/coding.fix_param_use
Install

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.

Any agent
npx skills add gpsaggese/helpers --skill coding.fix_param_use
Clone the repo
git clone --depth 1 https://github.com/gpsaggese/helpers

Made for: Claude Code.

Wrote 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.

agentmods badge for coding.fix_param_use

README.md
[![agentmods](https://agentmods.dev/badge/skills/gpsaggese/helpers/coding.fix_param_use/github.svg)](https://agentmods.dev/skills/gpsaggese/helpers/coding.fix_param_use)
Your own site
<a href="https://agentmods.dev/skills/gpsaggese/helpers/coding.fix_param_use"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/coding.fix_param_use/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.

agentmods 80×15 button for coding.fix_param_use

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/coding.fix_param_use"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/coding.fix_param_use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00469
Opus 5.5 $0.00005 $0.00188
Sonnet 5.5 $0.00003 $0.00094
Haiku 4.5 $0.00001 $0.00047

Measured yesterday against content hash 049bbe10cf88, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coding.fix_param_use 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.

.claude/skills/coding.fix_param_use/SKILL.md · 68 lines

What it actually says

Goal

I will pass you a file <FILE>. In that file, make sure that:

  • Callers pass required parameters by position and optional parameters by keyword
  • Constants are assigned to an intermediate variable with the same name as the corresponding formal parameter

Conventions

  • Follow ## Call Functions with Position Arguments for Required, Keywords for Optional in .claude/skills/coding.rules.md

Examples

  • For a function with the signature

    def apply_llm_prompt_to_df(
        prompt: str,
        df: pd.DataFrame,
        extractor: Callable[[Union[str, pd.Series]], str],
        target_col: str,
        batch_mode: str,
        *,
        model: str,
        batch_size: int = 50,
        dump_every_batch: str = "",
        tag: str = "Processing",
        testing_functor: Optional[Callable[[str], str]] = None,
        use_sys_stderr: bool = False,
    ) -> Tuple[pd.DataFrame, Dict[str, int]]:
    
  • Bad (required parameters passed by keyword, constant not named)

    df, stats = hllmcli.apply_llm_prompt_to_df(
        prompt=prompt,
        df=df,
        extractor=extract_person_industry_from_df,
        target_col="industry",
        batch_mode=batch_mode,
        batch_size=batch_size,
        model=model,
        tag=tag,
    )
    
  • Good (required parameters positional, optional parameters by keyword, constant named)

    target_col = "industry"
    df, stats = hllmcli.apply_llm_prompt_to_df(
        prompt,
        df,
        extract_person_industry_from_df,
        target_col,
        batch_mode,
        batch_size=batch_size,
        model=model,
        tag=tag,
    )
    

Verification

  • Confirm required parameters are passed positionally and optional parameters by keyword
  • Confirm constants used at call sites are assigned to named intermediate variables
  • Run the file's unit tests to confirm behavior is unchanged
Changes

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.

  1. yesterday First seen · 68 lines · 13 tokens per session scan A 049bbe10cf88

Subscribe to this mod's changes

coding.fix_param_use is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 13 tokens to every session and 469 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-11-06.

Related

coding.fix_param_use compared with skills from other repositories

coding.fix_param_use next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coding.fix_param_usegpsaggese/helpersSkill158todayApache-2.0A13Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k5d agoMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill56k5d agoMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill3.9ktodayApache-2.0A34Claude Code, Codex
future-self-liteTHU-MAIC/OpenMAICSkill43kyesterdayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill783yesterdayApache-2.0A93Claude Code
typing-exclusion-workergetsentry/skillsSkill1.1kyesterdayApache-2.0A57Claude Code