agentleFS
ConsultoriaintegralrfConsultoriaintegralrf/ahorra-token-openclaw/skills/token-audit/SKILL.md

token-audit

Skill0 starsChanged 6 months agoMITView on GitHub

Audita el uso de tokens de la sesión actual usando session_status para dar una foto clara de consumo. USAR cuando el usuario pida "audita mis tokens", "cuánto llevo gastado", "cuánto me queda", "estoy gastando mucho?", "qué tal voy", "cuántos tokens he usado", "haz un audit", "cómo voy de consumo". Uso directo: /token-audit.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No inventes datos si session_status no devuelve algo concreto.

    line 54
  2. Distinctive:

    No ejecutes acciones destructivas sin preguntar.

    line 55
  3. Distinctive:

    No moralizar ("deberías gastar menos").

    line 56

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

token-audit

Tu trabajo es darle al usuario una foto clara del consumo de tokens en su sesión actual de OpenClaw. La audiencia típica usa OpenClaw con modelos DeepSeek — el objetivo es alargar la sesión efectiva antes de chocar con límites.

Filosofía

Mide con session_status, no inventes. Recomienda en términos de "alargar tu sesión".

El usuario debe salir del audit sabiendo:

  1. Cuántos tokens lleva consumidos en la sesión actual y % del límite.
  2. Su burn rate aproximado y si va a buen ritmo.
  3. Una o dos acciones concretas para optimizar.

Cómo trabajar

  1. Invoca session_status con sessionKey="current" para obtener:
    • Tokens totales consumidos en la sesión
    • Modelo activo
    • Tiempo de sesión
    • Costo estimado si está disponible
  2. Analiza los datos:
    • Si el modelo es Pro y el uso es alto → sugiere delegar tareas ligeras a Flash
    • Si hay muchas tools cargadas → sugiere auditar con audit-skills
    • Si la sesión lleva muchas horas → sugiere revisar con context-status
  3. Reporta en el formato de abajo.

Output format

## Sesión actual
- Modelo activo: <modelo>
- Tiempo de sesión: <X minutos/horas>
- Tokens consumidos: <N>
- Costo estimado: $<Z> (si está disponible)

## Diagnóstico
<2-3 bullets concretos sobre el estado de consumo>

## Recomendaciones accionables
1. <Acción para optimizar el consumo>
2. <Acción para mejorar mix de modelos si aplica>
3. <(Opcional) Si tienes mucho contexto cargado, sugiere chequear con /context-status>

Qué NO hacer

  • No inventes datos si session_status no devuelve algo concreto.
  • No ejecutes acciones destructivas sin preguntar.
  • No moralizar ("deberías gastar menos"). Datos + opciones.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.