lenserfight: Skill for Codex

.agents/skills/cli-developer/SKILL.md

cli-developer is a skill for Codex from conectlens/lenserfight. It costs 38 tokens per session (895 once invoked), scanned A, original, MIT.

A project-specific skill for reviewing, changing, and improving the LenserFight command-line app, a terminal program for working with that service. It covers commands, API connections, output, configuration, authentication, and the terminal interface.

In plain words
What is it for?
Use it to modify CLI commands, API calls, tables or JSON output, authentication and profiles, error handling, battle tools, or the built-in dashboard.
Why use it?
It gives development work a clear scope and points to the project’s established locations and conventions.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is conectlens/lenserfight's own configuration. It tells Codex how to work on lenserfight itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lenserfight configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { callRpc, handleError } from '../utils/api';.

Reuse

Borrowing it

Nothing to install: this file belongs to conectlens/lenserfight. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conectlens/lenserfight/main/.agents/skills/cli-developer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

Made for: Codex.

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 cli-developer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/conectlens/lenserfight/cli-developer"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/cli-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 895 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.00038 $0.00895
Opus 5.5 $0.00015 $0.00358
Sonnet 5.5 $0.00008 $0.00179
Haiku 4.5 $0.00004 $0.00089

Measured 1mo ago against content hash 29b895869891, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-developer 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 1mo 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.

.agents/skills/cli-developer/SKILL.md · 86 lines

How it starts

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

Work on the LenserFight CLI (lf).

Scope

  • Source: apps/cli/src/**
  • Commands: apps/cli/src/commands/*.ts
  • Utilities: apps/cli/src/utils/ (api, output, auth, auth-recovery, ansi, error-reporter, profiles, supabase-client, automation-objects, battle-stream-broadcaster, local-battle-engine, local-battle-paths, local-battle-storage)
  • Libraries: apps/cli/src/lib/ (exec-context, safety, telemetry, redact, onboarding, combine-seeds, command-inventory)
  • TUI: apps/cli/src/tui/ (dashboard.ts + tui/ink/ — first-party dashboard, default lf behavior; runtime-telemetry — shared with lf top)
  • Adapters: apps/cli/src/adapters/

CLI Structure

  • src/main.ts — entry point, uses defineCommand + runMain from citty; binary name is lenserfight / lf
  • Each command file exports a defineCommand(...) default and is lazy-imported in main.ts
  • src/utils/api.ts — callRpc + handleError; all Supabase RPC calls go through here
  • src/utils/output.ts — printTable, printJson, truncate; uses consola for logging
  • src/utils/auth.ts + src/utils/supabase-client.ts — auth and Supabase client
  • src/utils/ansi.ts — ANSI helper A and symbols sym
  • src/lib/exec-context.ts — setExecContext / getExecContext for --local / --debug flags
  • src/lib/safety/ — assertSafe for input validation
  • src/lib/telemetry.ts — telemetry adapter

Command pattern

import { defineCommand } from 'citty';
import consola from 'consola';
import { callRpc, handleError } from '../utils/api';
import { printTable, printJson } from '../utils/output';

const subCommand = defineCommand({
  meta: { name: 'list', description: 'List items.' },
  args: {
    json: { type: 'boolean', default: false, description: 'Output as JSON' },
  },
  async run({ args }) {
    try {
      const data = await callRpc('fn_example', {});
      if (args.json) printJson(data);
      else printTable(['ID', 'Name'], data.map((r) => [r.id, r.name]));
    } catch (err) {
      handleError(err);
    }
  },
});

export default defineCommand({
  meta: { name: 'example', description: 'Example group.' },
  subCommands: { list: subCommand },
});

Read the full file on GitHub · 86 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 86 lines · 38 tokens per session scan A 29b895869891

Subscribe to this mod's changes

cli-developer is a skill published in the GitHub repository conectlens/lenserfight (18 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 895 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

api-security-testing

Security-test a REST, GraphQL, or gRPC API with Strix — autonomous agents that enumerate endpoints from an OpenAPI/GraphQL schema (or by crawling), then actually exploit the API-specific vulnerability classes in the OWASP API Security Top 10 (2023) — broken object-level authorization (BOLA/IDOR), broken object…

usestrix/strix · 144 tokens

fix-security-vulnerabilities-with-strix

Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use…

usestrix/strix · 124 tokens

find-security-vulnerabilities-in-code

Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy…

usestrix/strix · 129 tokens

managed-pentesting-with-strix

Run a managed pentest of a web app, API, repository, or local workspace on the app.strix.ai platform with the strix cloud CLI or REST API — no local Docker or LLM key needed. Safely review and upload local source, register assets, launch and poll scans, triage vulnerabilities, export SARIF, download compliance…

usestrix/strix · 114 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

swarms

Build agents and multi-agent systems with the Swarms framework — the Agent class, tools, autonomous loops, memory, and the 15+ multi-agent architectures (SequentialWorkflow, ConcurrentWorkflow, GraphWorkflow, HierarchicalSwarm, SwarmRouter, and more). Use whenever writing, reviewing, or debugging code that imports…

kyegomez/swarms · 73 tokens