Skip to content

About

Understand what AI actually wrote. Visualize code changes, ask questions about your codebase, track project token consumption, and give AI agents persistent project intelligence. Free, open-source, and local-first for Codex and Claude Code.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

OneMinute Analyzer

AI writes your code. Now understand what it actually wrote.

A free, open-source developer tool for Codex and Claude Code.

npm version GitHub stars MIT license Codex supported Claude Code supported Local-first

Understand changes visually, ask questions about any line of code, track your project's token consumption, and give your AI agents a deeper understanding of your codebase.

Setup guide · Features · Website

Open a terminal in your project and run:

npx oneminute-analyzer init

Tip

Lightweight on your AI usage. Efficient models and focused code context keep token usage low. Use your existing supported AI subscription—no extra OneMinute Analyzer subscription needed.

Visual explanation of application behavior before and after an AI coding request

Why OneMinute Analyzer?

AI coding agents are incredibly powerful. But when an agent changes hundreds of lines across multiple files, do you actually understand everything it did?

Reading hundreds of lines of diffs isn't fun. Neither is copying code into another chatbot just to understand it.

We built OneMinute Analyzer to change that.

What can you do?

Understand what AI changed

See how your application worked before an AI coding request and what changed afterward.

Instead of reading a massive diff, explore a simple visual explanation of the changes.

Select any code. Ask anything.

Don't understand a function, condition, or particular line of code?

Highlight it, click Ask clarification, and get a simple explanation directly inside the dashboard.

No copying code. No switching tabs. No manually providing context.

Selecting code and asking for clarification in the dashboard

See how many tokens your project consumed

Ever wondered how many tokens you actually used to build an application?

Track your project's token consumption, cache hit rate, activity over time, and usage across different coding agents.

OneMinute Analyzer even shows its own AI consumption separately.

Project token consumption, cache hit rate, and coding agent usage

Give your AI agents project intelligence

OneMinute Analyzer maintains a local graph of your codebase, connecting files, functions, and dependencies.

Codex and Claude Code can use this knowledge through MCP and project skills to navigate your codebase and discover existing implementations.

The graph stays updated as you work. You can enable or disable agent access directly from the dashboard.

Built for developers, not just AI agents

  • Beginner-friendly code explanations.
  • Automatic code-change tracking.
  • Interactive before-and-after visualizations.
  • Context-aware AI chatbot.
  • Project-level token consumption.
  • Persistent codebase intelligence.
  • Works alongside Codex and Claude Code.
  • Free and open source.

Getting started

You'll need Node.js 20.19 or newer and npm.

Open your project directory and initialize OneMinute Analyzer:

npx oneminute-analyzer init

Init configures OMA's project MCP connections and capture hooks for installed, supported Codex and Claude versions. Repeat runs skip unchanged configuration and update OMA-managed entries when needed, preserving your other settings. If your agent asks, approve the project, hooks or MCP connection and restart existing agent sessions.

In an interactive terminal, init shows Claude and ChatGPT connection status. It selects a single connected account automatically, lets you choose when both are connected, and remembers that choice for Ask Analyzer and visual explanations. If neither is connected, choose a provider to open its official sign-in flow, or skip and connect later in Settings. Piped and unattended runs never prompt or open login. Visual explanations use the active native account: Claude Haiku or the existing lightweight Codex model. Set NO_COLOR=1 for plain terminal output.

Connect your supported AI accounts from Settings, then continue working as usual.

Your code, your control

OneMinute Analyzer runs locally on your computer. Code tracking, diffs, storage, and project indexing happen on your machine.

AI explanations use your connected provider and send relevant code context when inference is requested or automatic explanations are enabled.

No additional OneMinute Analyzer subscription required. Your connected provider's usage limits still apply.

Native project analysis currently focuses on JavaScript and TypeScript.

Documentation

Read the setup guide for installation requirements, account connection, agent approvals, and troubleshooting.

Support the project

If OneMinute Analyzer helps you understand AI-generated code, consider giving the repository a ⭐.

We're building a future where developers don't just generate software with AI — they understand it.

License

MIT License

Built with ❤️ by OneMinute Stack.

Building and packaging

This repository contains the application source and build configuration. Generated dist/ and installed node_modules/ are ignored by Git.

npm ci
npm run typecheck
npm run build
node dist/cli.js init /path/to/project
npm pack

The build uses tsup for minified Node ESM bundles and Vite for the dashboard. npm pack rebuilds automatically and packages only dist/, the README, licenses/notices, and required OMA skill. Application sources, build configuration, and local data are excluded from npm. Native SQLite remains an npm dependency. Minification reduces size; it does not make JavaScript private.

About

Understand what AI actually wrote. Visualize code changes, ask questions about your codebase, track project token consumption, and give AI agents persistent project intelligence. Free, open-source, and local-first for Codex and Claude Code.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages