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.
npx agentmods add commands/yurilopes/pydoll-mcp-server/runtimegit clone --depth 1 https://github.com/yurilopes/pydoll-mcp-serverWrote 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.
[](https://agentmods.dev/commands/yurilopes/pydoll-mcp-server/runtime)<a href="https://agentmods.dev/commands/yurilopes/pydoll-mcp-server/runtime"><img src="https://agentmods.dev/badge/commands/yurilopes/pydoll-mcp-server/runtime.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00575 |
| Opus 5 | $0.00000 | $0.00287 |
| Sonnet 5 | $0.00000 | $0.00115 |
| Haiku 4.5 | $0.00000 | $0.00057 |
Grade A, and why
runtime 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Runtime Commands
Runtime commands provide JavaScript execution capabilities and runtime environment management.
Overview
The runtime commands module enables JavaScript code execution, object inspection, and runtime environment control within browser contexts.
::: pydoll.commands.runtime_commands options: show_root_heading: true show_source: false heading_level: 2 filters: - "!^_" - "!^__"
Usage
Runtime commands are used for JavaScript execution and runtime management:
from pydoll.commands.runtime_commands import evaluate, enable
from pydoll.connection.connection_handler import ConnectionHandler
# Enable runtime events
connection = ConnectionHandler()
await enable(connection)
# Execute JavaScript
result = await evaluate(
connection,
expression="document.title",
return_by_value=True
)
print(result.value) # Page title
Key Functionality
The runtime commands module provides functions for:
JavaScript Execution
evaluate()- Execute JavaScript expressionscall_function_on()- Call functions on objectscompile_script()- Compile JavaScript for reuserun_script()- Run compiled scripts
Object Management
get_properties()- Get object propertiesrelease_object()- Release object referencesrelease_object_group()- Release object groups
Runtime Control
enable()/disable()- Enable/disable runtime eventsdiscard_console_entries()- Clear console entriesset_custom_object_formatter_enabled()- Enable custom formatters
Exception Handling
set_async_call_stack_depth()- Set call stack depth- Exception capture and reporting
- Error object inspection
Advanced Usage
Complex JavaScript Execution
# Execute complex JavaScript with error handling
script = """
try {
const elements = document.querySelectorAll('.item');
return Array.from(elements).map(el => ({
text: el.textContent,
href: el.href
}));
} catch (error) {
return { error: error.message };
}
"""
result = await evaluate(
connection,
expression=script,
return_by_value=True,
await_promise=True
)
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.
- 3d ago First seen · 110 lines · 0 tokens per session scan A 0b0b63b39fb6
runtime is a command published in the GitHub repository yurilopes/pydoll-mcp-server (1 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 575 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.
Other commands, from other repositories
e2e
使用 Playwright 对 Web UI 进行端到端测试(支持视频录制、Trace 录制、控制台/网络日志捕获).
auto-browse
Auto-browse — learn, optimize, and graduate browser operations or web data-mining workflows.
research-perplexity
Run a deep research query using Perplexity's /research mode via Playwright browser automation. This is an alternative to /export-to-council that uses Perplexity's dedicated research mode instead of multi-model council.
review
Compare a reference design against an implementation. Accepts Figma URL, image file, or browser URL as reference.
qa
Smoke or browser-walk a running app. Report only. Do not implement. Do not merge.
can-i-use
Check browser support for web platform features against the project's browser targets.