storage

storage is a command for Claude Code from yurilopes/pydoll-mcp-server. It costs 0 tokens per session (842 once invoked), scanned A, original, MIT.

A set of commands for managing browser data such as cookies, local storage, session storage, and IndexedDB, which websites use to save information.

In plain words
What is it for?
It helps read and set cookies, manage stored data, and clear all storage for a website origin.
Why use it?
It provides direct control over the data that websites store between browser sessions.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit It helps read and set cookies, manage stored data, and clear all…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yurilopes/pydoll-mcp-server/storage
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.

Clone the repo
git clone --depth 1 https://github.com/yurilopes/pydoll-mcp-server

Made for: Claude Code.

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/yurilopes/pydoll-mcp-server/storage.svg)](https://agentmods.dev/commands/yurilopes/pydoll-mcp-server/storage)
Your own site
<a href="https://agentmods.dev/commands/yurilopes/pydoll-mcp-server/storage"><img src="https://agentmods.dev/badge/commands/yurilopes/pydoll-mcp-server/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 842 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.00000 $0.00842
Opus 5 $0.00000 $0.00421
Sonnet 5 $0.00000 $0.00168
Haiku 4.5 $0.00000 $0.00084

Measured 6d ago against content hash c154a77b3a4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

references/pydoll-docs/en/api/commands/storage.md · 131 lines

How it starts

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

Storage Commands

Storage commands provide comprehensive browser storage management including cookies, localStorage, sessionStorage, and IndexedDB.

Overview

The storage commands module enables management of all browser storage mechanisms, providing functionality for data persistence and retrieval.

::: pydoll.commands.storage_commands options: show_root_heading: true show_source: false heading_level: 2 filters: - "!^_" - "!^__"

Usage

Storage commands are used for managing browser storage across different mechanisms:

from pydoll.commands.storage_commands import get_cookies, set_cookies, clear_data_for_origin
from pydoll.connection.connection_handler import ConnectionHandler

# Get cookies for a domain
connection = ConnectionHandler()
cookies = await get_cookies(connection, urls=["https://example.com"])

# Set a new cookie
await set_cookies(connection, cookies=[{
    "name": "session_id",
    "value": "abc123",
    "domain": "example.com",
    "path": "/",
    "httpOnly": True,
    "secure": True
}])

# Clear all storage for an origin
await clear_data_for_origin(
    connection,
    origin="https://example.com",
    storage_types="all"
)

Key Functionality

The storage commands module provides functions for:

Cookie Management

  • get_cookies() - Get cookies by URL or domain
  • set_cookies() - Set new cookies
  • delete_cookies() - Delete specific cookies
  • clear_cookies() - Clear all cookies

Local Storage

  • get_dom_storage_items() - Get localStorage items
  • set_dom_storage_item() - Set localStorage item
  • remove_dom_storage_item() - Remove localStorage item
  • clear_dom_storage() - Clear localStorage

Session Storage

  • Session storage operations (similar to localStorage)
  • Session-specific data management
  • Tab-isolated storage

IndexedDB

  • get_database_names() - Get IndexedDB databases
  • request_database() - Access database structure
  • request_data() - Query database data
  • clear_object_store() - Clear object stores

Read the full file on GitHub · 131 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. 6d ago First seen · 131 lines · 0 tokens per session scan A c154a77b3a4e

Subscribe to this mod's changes

storage is a command published in the GitHub repository yurilopes/pydoll-mcp-server (1 stars, last pushed 23d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 842 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.