Back to Discover

agent-looker-claude-cowork

plugin

Gogolook-Inc

View on GitHub
1 starsGPL-3.0Synced Aug 2, 2026

Install to Claude Code

/plugin marketplace add Gogolook-Inc/agent-looker-claude-cowork

README

Agent Looker - Claude Cowork Plugin

A plugin for Claude Cowork that protects AI agents from unsafe URLs, malicious content, and prompt injection attacks via the Agent Looker MCP server.

What it does

Agent Looker adds two layers of protection to your Claude Cowork sessions:

Hooks (automatic) -- System-level guards that inject security rules before and after web tool calls:

  • PreToolUse -- Before every tool call, security rules are injected into Claude's context, ensuring it knows to call check_url_safety before any URL access (WebFetch, Bash curl/wget, etc.).
  • PostToolUse -- After every tool call, security rules are re-injected so Claude knows to call check_text_safety on any external content received.

Skills (Claude-driven) -- Four skills that teach Claude when and how to call Agent Looker's MCP tools:

SkillTriggerPurpose
check-url-safetyBefore accessing any URL (curl, wget, git clone, etc.)Claude calls check_url_safety before every URL access
check-text-safetyWhen processing external text from any sourceClaude calls check_text_safety on all received external content
report-risk-urlProactively, when a suspicious URL is discoveredPhishing, malware, scam, suspicious redirects
report-risk-textProactively, when suspicious text is discoveredPrompt injection, jailbreak, data leaks

Note: Unlike the full Claude Code plugin, hooks in this Cowork edition do not make direct API calls — they inject security rules that guide Claude to use the MCP skills. All actual threat detection goes through the skills.

How protection works

WebFetch(url)
      |
      v
PreToolUse hook: injects security rules into Claude's context
      |
      Claude calls check_url_safety (MCP skill)
      |
      +-- UNSAFE --> Claude blocks the fetch and informs the user
      |
      +-- SAFE   --> WebFetch executes
                        |
                        v
               PostToolUse hook: injects security rules into Claude's context
                        |
                        Claude calls check_text_safety (MCP skill)
                        |
                        +-- BLOCK/FLAG --> Claude warns the user
                        +-- ALLOW     --> pass through

A safe URL can still serve malicious content. URL checks and content checks are two independent layers.

Requirements

  • Claude Cowork with MCP support
  • Agent Looker MCP server configured in your Cowork workspace
  • An Agent Looker account (sign up at the dashboard)

Installation

1. Configure the Agent Looker MCP server

Add the Agent Looker MCP server to your Claude Cowork workspace settings. The MCP server provides the check_url_safety, check_text_safety, report_risk_url, and report_risk_text tools that skills call into.

Refer to your Agent Looker dashboard for the MCP server URL and authentication token.

2. Load hooks

Copy hooks/hooks.json into your Claude Cowork hooks configuration, or reference it from your workspace's hook settings. The hooks inject Agent Looker security rules into Claude's context before and after WebFetch and WebSearch calls.

3. Load skills

Copy the skills/ directory into your Claude Cowork skills directory. Each subdirectory contains a SKILL.md that teaches Claude when and how to call the corresponding MCP tool.

4. Restart Claude Cowork

Restart your Claude Cowork session to activate the hooks and skills.

Project structure

hooks/
  hooks.json           # PreToolUse / PostToolUse hook definitions
                       # (injects security rules via additionalContext)
skills/
  check-url-safety/    # Skill: check URLs before access
  check-text-safety/   # Skill: check text content safety
  report-risk-url/     # Skill: report suspicious URLs
  report-risk-text/    # Skill: report suspicious text

Difference from the full Claude Code plugin

FeatureClaude Code pluginClaude Cowork plugin
PreToolUse URL blockingCalls API directly, blocks before fetchInjects rules; Claude calls MCP skill
PostToolUse content scanCalls API directly, warns via contextInjects rules; Claude calls MCP skill
Setup scriptYes (bin/setup.mjs)No
Authentication~/.agent-looker.cfgVia MCP server configuration
Node.js requiredYes (for hook scripts)No

License

GPL-3.0 -- see LICENSE for details.

Rendered live from Gogolook-Inc/agent-looker-claude-cowork's GitHub README — not stored, always reflects the source repo.

1 Plugin

NameDescriptionCategorySource
agent-looker-for-claude-coworkURL safety check, content moderation, and risk reporting for AI agents./

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.