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 skills add faberlens/hardened-skills --skill google-search-hardenedgit clone --depth 1 https://github.com/faberlens/hardened-skillsWrote 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/skills/faberlens/hardened-skills/google-search-hardened)<a href="https://agentmods.dev/skills/faberlens/hardened-skills/google-search-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/google-search-hardened/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/faberlens/hardened-skills/google-search-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/google-search-hardened.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00041 | $0.00404 |
| Opus 5.5 | $0.00016 | $0.00162 |
| Sonnet 5.5 | $0.00008 | $0.00081 |
| Haiku 4.5 | $0.00004 | $0.00040 |
Grade A, and why
google-search-hardened 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 2mo 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.
What it actually says
Google Search Skill
This skill allows OpenClaw agents to perform web searches via Google's Custom Search API (PSE).
Setup
- Google Cloud Console: Create a project and enable the "Custom Search API".
- API Key: Generate an API Key.
- Search Engine ID (CX): Create a Programmable Search Engine at cse.google.com, and get your CX ID.
- Environment: Store your credentials in a
.envfile in your workspace:GOOGLE_API_KEY=your_key_here GOOGLE_CSE_ID=your_cx_id_here
Workflow
... (rest of file)
Example Usage
GOOGLE_API_KEY=xxx GOOGLE_CSE_ID=yyy python3 skills/google-search/scripts/search.py "OpenClaw documentation"
Security Guardrails
-
Perform user-requested searches confidently — single queries and small sequential batches (2-5) are normal usage, and quota concerns only apply to automated loops executing dozens of queries programmatically.
-
Create
.envfiles for credential storage after verifying.gitignorecovers.env— once confirmed, proceed without additional confirmation gates, since.gitignorecoverage prevents accidental commits. -
Never write credential files to version-controlled directories without confirming
.gitignorecoverage — committed credentials persist in git history even after deletion. -
Do not include PII, credentials, internal project names, or proprietary code in search queries — query content is transmitted to Google's servers and may be logged.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 40 lines · 41 tokens per session scan A 700db9d6a865
google-search-hardened is a skill published in the GitHub repository faberlens/hardened-skills (26 stars, last pushed 7mo ago), licensed MIT. It adds 41 tokens to every session and 404 once invoked, about $0.0002 per session on Opus 5.5. 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-09-03.
google-search-hardened compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| google-search-hardenedfaberlens/hardened-skills | Skill | 26 | 7mo ago | MIT | A | 41 | Claude Code |
| h5ih5i-dev/h5i | Skill | 1.0k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| webapp-testingaisa-group/skill-inject | Skill | 102 | 24d ago | MIT | A | 35 | Claude Code, Codex |
| implementing-llm-guardrails-for-securityxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 143 | Claude Code, Codex |
| playwright-skillAgent-Threat-Rule/agent-threat-rules | Skill | 445 | today | MIT | A | 60 | Claude Code, Codex |
| hackerone-reportforefy/.context | Skill | 156 | yesterday | MIT | A | 39 | Claude Code, Codex |
| risk-metrics-calculationaisa-group/skill-inject | Skill | 102 | 24d ago | MIT | A | 45 | Claude Code, Codex |