harness-fe

harness-fe is a skill for Claude Code from Morphicai/harness-fe. It costs 79 tokens per session (9,018 once invoked), scanned A, original, MIT.

A skill for inspecting and controlling a running web app when the Harness-FE Vite or Webpack plugin is installed. It connects source-code information with the browser page, console, network activity, and recorded browser sessions.

In plain words
What is it for?
Use it to investigate frontend bugs, inspect page state, automate browser interactions, review console and network activity, and correlate behavior with source files.
Why use it?
It helps trace a visible browser problem back to source code and runtime evidence instead of debugging those pieces separately.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to investigate frontend bugs, inspect page state, automate browser interactions, review console and network activity, and correlate behavior with source files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morphicai/harness-fe/skill
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.

Any agent
npx skills add Morphicai/harness-fe --skill skill
Clone the repo
git clone --depth 1 https://github.com/Morphicai/harness-fe

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 harness-fe

README.md
[![agentmods](https://agentmods.dev/badge/skills/morphicai/harness-fe/skill/github.svg)](https://agentmods.dev/skills/morphicai/harness-fe/skill)
Your own site
<a href="https://agentmods.dev/skills/morphicai/harness-fe/skill"><img src="https://agentmods.dev/badge/skills/morphicai/harness-fe/skill/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.

agentmods 80×15 button for harness-fe

Your own site · 80×15
<a href="https://agentmods.dev/skills/morphicai/harness-fe/skill"><img src="https://agentmods.dev/badge/skills/morphicai/harness-fe/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,018 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.00079 $0.09018
Opus 5.5 $0.00032 $0.03607
Sonnet 5.5 $0.00016 $0.01804
Haiku 4.5 $0.00008 $0.00902

Measured 5d ago against content hash 7b88426923a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harness-fe 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.

packages/agent-skill/skill/SKILL.md · 566 lines

How it starts

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

Harness-FE Agent Skill

You have direct access to a running frontend app via the harness-fe MCP daemon. The daemon bridges your tools to (1) the build plugin (source intelligence) and (2) the browser tab (live DOM, console, network, rrweb recording).

Tool names use underscores. Every tool is mcp__<server>__<name> with underscores throughout — project_list, session_summary, page_click. The server prefix depends on the user's MCP config (commonly harness-fe for the shared gateway, harness-solo for the loopback daemon). This doc writes the bare name (project_list); prepend whichever prefix your environment exposes.

Setup — do this first if the project isn't wired up

Before any tool will return data, the host project needs two things: a build-time plugin (or jsxImportSource) and an MCP daemon entry in the agent's config. Pick the integration path that matches the project:

Vite (React / Vue) — most common

  1. pnpm add -D @harness-fe/vite @harness-fe/runtime
  2. Add to vite.config.ts:
    import { harnessFE } from '@harness-fe/vite';
    export default defineConfig({ plugins: [react(), harnessFE()] });
    
  3. Register the daemon in .mcp.json (or the equivalent agent config):
    { "mcpServers": { "harness-fe": { "command": "npx", "args": ["@harness-fe/mcp-server", "--stdio"] } } }
    

Next.js (App or Pages Router) — supports SSR session continuity:

  1. pnpm add -D @harness-fe/next @harness-fe/react-jsx @harness-fe/runtime @harness-fe/node-runtime
  2. tsconfig.json: "compilerOptions": { "jsxImportSource": "@harness-fe/react-jsx" }
  3. next.config.mjs: export default withHarness(config, { projectId: '<app-name>' })
  4. app/layout.tsx: render <HarnessScript /> inside <body>
  5. Same MCP daemon config as above.

Webpack / Rspack / other React toolchains: use @harness-fe/webpack or @harness-fe/unplugin; the rest is identical.

After setup, run npx @harness-fe/mcp-server once (or it auto-spawns via the agent's stdio config) and start the dev server. tab_list should return at least one tab — you're wired up.

Read the full file on GitHub · 566 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. 5d ago Changed 7b88426923a2
  2. 1mo ago First seen · 566 lines · 79 tokens per session scan A ef7ce05f87e9

Subscribe to this mod's changes

harness-fe is a skill published in the GitHub repository Morphicai/harness-fe (2 stars, last pushed 4d ago), licensed MIT. It adds 79 tokens to every session and 9,018 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

kiro-verify-completion

Verify completion and success claims with fresh evidence. Use before claiming a task is complete, a fix works, tests pass, or a feature is ready for GO.

gotalab/cc-sdd · 39 tokens

diagnose-backend-bug

Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Use when a service, API, RPC, worker, queue, CLI, or scheduled job bug needs correlation through the project's existing observability route before repair; do…

QoderAI/better-harness · 87 tokens

prismer-python-debugpy

Debug Python: pdb REPL + debugpy remote (DAP).

Prismer-AI/PrismerCloud · 19 tokens

debug-live

Guides root-cause investigations with debugging capabilities by setting breakpoints, starting a debug session, stepping through execution, inspecting variables, and tracing symptoms back to their origin. Prefer it for runtime bugs, failing tests, exceptions, crashes, hangs, wrong/null values, and unexpected output…

microsoft/DebugMCP · 84 tokens

chisle-audit

One-shot efficiency audit of a file, diff, or whole repo across BOTH axes at once: over-engineered code (reinvented stdlib, needless abstractions, speculative config) AND bloated prose (verbose comments, padded docstrings, redundant doc sections). Neither a pure code-minimizer nor a pure prose compressor does both in…

JayPokale/Chisle · 130 tokens

remove-deadcode

Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.

code-yeongyu/oh-my-openagent · 41 tokens