storage

storage is a command for coding agents from cesarandreslopez/tauri-agent-tools. It costs 0 tokens per session (447 once invoked), scanned A, original, MIT.

A read-only inspection command for a Tauri webview’s local storage, session storage, and cookies. These are browser-held values used to remember settings, temporary state, and login information.

In plain words
What is it for?
Use it to inspect all stored values, select one storage type, look up a specific key, or export the results as JSON.
Why use it?
It helps explain behavior caused by saved browser data without changing or deleting that data.

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/cesarandreslopez/tauri-agent-tools/storage
Clone the repo
git clone --depth 1 https://github.com/cesarandreslopez/tauri-agent-tools

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 storage

README.md
[![agentmods](https://agentmods.dev/badge/commands/cesarandreslopez/tauri-agent-tools/storage.svg)](https://agentmods.dev/commands/cesarandreslopez/tauri-agent-tools/storage)
Your own site
<a href="https://agentmods.dev/commands/cesarandreslopez/tauri-agent-tools/storage"><img src="https://agentmods.dev/badge/commands/cesarandreslopez/tauri-agent-tools/storage.svg" alt="Measured on agentmods" height="20"></a>
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 447 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.00447
Opus 5 $0.00000 $0.00224
Sonnet 5 $0.00000 $0.00089
Haiku 4.5 $0.00000 $0.00045

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

Security

Grade A, and why

storage 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 5d 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/storage.md · 86 lines

What it actually says

storage

Inspect localStorage, sessionStorage, and cookies from the Tauri webview. One-shot read — no writes.

!!! note "Bridge Required" This command requires an active bridge connection.

Usage

tauri-agent-tools storage [options]

Options

Option Description Default
--type <type> Storage type: local, session, cookies, all all
--key <name> Get a specific key's value
--json Output as JSON
--port <number> Bridge port (auto-discover if omitted)
--token <string> Bridge token (auto-discover if omitted)

Examples

Show all storage

tauri-agent-tools storage
localStorage (3 entries)
  theme = "dark"
  language = "en"
  sidebar_collapsed = "true"

sessionStorage (1 entry)
  active_tab = "settings"

cookies (2 entries)
  session_id = "abc123"
  preferences = "compact"

Show only localStorage

tauri-agent-tools storage --type local

Get a specific key

tauri-agent-tools storage --key theme
localStorage: dark

JSON output

tauri-agent-tools storage --json
{
  "localStorage": [
    { "key": "theme", "value": "dark" },
    { "key": "language", "value": "en" }
  ],
  "sessionStorage": [],
  "cookies": [
    { "key": "session_id", "value": "abc123" }
  ]
}

Notes

  • This is a one-shot read — storage is read once and displayed
  • Cookie access is limited to document.cookie (HttpOnly cookies are not visible)
  • When using --key, the value is looked up in all selected storage types
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. 5d ago First seen · 86 lines · 0 tokens per session scan A 4801330eeb49

Subscribe to this mod's changes

storage is a command published in the GitHub repository cesarandreslopez/tauri-agent-tools (22 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 447 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-30.