pkg

A command-line tool for finding packages, checking dependency files, and verifying package installations across several package managers.

In plain words
What is it for?
Use it to search registries, install npm, Yarn, pnpm, Bun, Python, or Rust packages, and scan dependency files.
Why use it?
It helps you inspect packages and dependency risks before adding them to a project.

Command

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.

agentmods
npx agentmods add commands/d4rkninja/infynon-cli/pkg
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/infynon-cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 812 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00812
Opus 5 $0.00000 $0.00406
Sonnet 5 $0.00000 $0.00162
Haiku 4.5 $0.00000 $0.00081

Measured 2d ago against content hash 025ccb106f30, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pkg 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 2d 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.

docs/commands/pkg.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pkg

Use pkg to search packages, verify installs, and scan dependency files.

When to use

Use this command before installing packages or when checking dependency risk in a project.

Basic usage

infynon pkg <subcommand>

Common commands

Command Description
infynon pkg search <query> Search package registries
infynon pkg npm install <package> Verify and install npm package
infynon pkg yarn add <package> Verify and install with Yarn
infynon pkg pnpm add <package> Verify and install with pnpm
infynon pkg bun add <package> Verify and install with Bun
infynon pkg pip install <package> Verify and install Python package with pip
infynon pkg uv add <package> Verify and install Python package with uv
infynon pkg poetry add <package> Verify and install Python package with Poetry
infynon pkg cargo add <package> Verify and install Rust package
infynon pkg scan Scan detected dependency files
infynon pkg scan --pkg-file <file> Scan a specific dependency file
`infynon pkg scan --output markdown pdf
infynon pkg scan --fix [level] Scan and run fix workflow
infynon pkg audit Audit project dependencies
infynon pkg outdated Show outdated dependencies
infynon pkg why <package> Explain why a package exists
infynon pkg explain <package> Explain package risk and next steps
infynon pkg diff <package> <v1> <v2> Compare package versions
infynon pkg size <package...> Estimate package size
infynon pkg doctor Diagnose package setup issues
infynon pkg fix --auto Run automatic remediation
infynon pkg clean Clean package state where supported
infynon pkg migrate <from> <to> Help migrate package managers
infynon pkg eagle-eye setup Configure scheduled monitoring
infynon pkg eagle-eye start Start monitoring
infynon pkg eagle-eye status Show monitoring status
infynon pkg eagle-eye enable Enable monitoring
infynon pkg eagle-eye disable Disable monitoring

Read the full file on GitHub · 93 lines

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. 2d ago First seen · 93 lines · 0 tokens per session scan A 025ccb106f30

Subscribe to this mod's changes

pkg is a command published in the GitHub repository d4rkNinja/infynon-cli (8 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 812 tokens. 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-31.