resect
Trustworthy refactoring knife for JS/TS projects 🍰
Install / Use
claude mcp add mherod -- npx -y github:mherod/resectIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of resect
resect scores 39/100 on our quality scale, 4374th of 4,595 Development & Engineering skills we index.
Its MCP Server is 3.9 KB long, written without headings and no code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-23. Automated pattern scan on 2026-10-23. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
resect compared with similar skills
All 4 of these similar skills score higher than resect; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| resect (this skill)by mherod | 39 | 0 | — | MCP Server |
| taste-skillby Leonxlnx | 100 | 101.6k | 3d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 101.3k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 77.6k | 1d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 64.0k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install resect?
- Run
claude mcp add mherod -- npx -y github:mherod/resect. The install tabs above show the steps for each supported agent. - Which AI agents does resect work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is resect safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is resect still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHub{ "name": "@mherod/resect", "version": "1.9.0", "description": "Surgical TypeScript/JavaScript module refactoring CLI. Move files, rename exports, and watch every import update automatically.", "type": "module", "bin": { "resect": "./bin/resect.js", "resect-mcp": "./bin/resect-mcp.js" }, "exports": { ".": { "bun": "./src/index.ts", "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./bun": { "bun": "./src/runtime/bun.ts", "import": { "types": "./dist/runtime/bun.d.ts", "default": "./dist/runtime/bun.js" } }, "./node": { "bun": "./src/runtime/node.ts", "import": { "types": "./dist/runtime/node.d.ts", "default": "./dist/runtime/node.js" } }, "./runtime": { "bun": "./src/runtime/index.ts", "import": { "types": "./dist/runtime/index.d.ts", "default": "./dist/runtime/index.js" } } }, "files": [ "bin/resect.js", "bin/resect-mcp.js", "src", "dist", "README.md", "LICENSE", "NOTICE", "!/CLAUDE.md", "!/.test.ts", "!**/.spec.ts", "!/fixtures", "!/tests", "!/__test-helpers*", "!/-test-helpers.", "!**/_tmp" ], "scripts": { "dev": "bun run src/cli.ts", "build": "bun build src/cli.ts src/core/analysis-worker.ts src/commands/mutation-worker.ts --compile --outfile bin/resect-bin && bun build src/mcp-server.ts src/core/analysis-worker.ts src/commands/mutation-worker.ts src/mcp-tools/read-only-worker.ts --compile --outfile bin/resect-mcp-bin", "build:mcp": "bun build src/mcp-server.ts src/core/analysis-worker.ts src/commands/mutation-worker.ts src/mcp-tools/read-only-worker.ts --compile --outfile bin/resect-mcp-bin", "build:lib": "tsc -p tsconfig.build.json && bun build src/index.ts src/core/analysis-worker.ts src/core/analysis-process-host.ts src/commands/mutation-worker.ts src/runtime/bun.ts src/runtime/node.ts src/runtime/index.ts --outdir dist --target bun --format esm --external typescript --splitting", "test": "bun test --timeout=20000", "lint": "pnpm exec biome check --write . && pnpm run lint:eslint", "lint:eslint": "eslint src --max-warnings 0", "typecheck": "pnpm exec tsc --noEmit", "verify:size": "bun scripts/check-tarball-size.ts", "verify:all": "pnpm run typecheck && pnpm run lint && pnpm test && pnpm run build:lib && pnpm run verify:size", "prepublishOnly": "pnpm run verify:all", "git:unlock": "rm -f .git/index.lock", "check": "pnpm exec biome check --no-errors-on-unmatched .", "fix": "pnpm exec biome check --write --no-errors-on-unmatched .", "prepare": "[ -d .git ] && husky || true" }, "packageManager": "pnpm@12.13.0+sha512.1e55719bf26e809dce5c5084fdebaa64efb3da9038ae5d68a9f8a68311f1a45841c8c3b76a37298c3b66f6bcc80409a9b7f33c78a7168a3e90fb65a5d8235ae4", "keywords": [ "typescript", "javascript", "refactoring", "cli", "move", "rename", "imports", "exports", "module", "ast", "codemod", "tsconfig", "monorepo" ], "author": "Matthew Herod", "license": "PolyForm-Noncommercial-1.0.0", "repository": { "type": "git", "url": "git+https://github.com/mherod/resect.git" }, "homepage": "https://github.com/mherod/resect#readme", "bugs": { "url": "https://github.com/mherod/resect/issues" }, "engines": { "bun": ">=1.0.0" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.32.1", "typescript": "^5.7.2", "zod": "^4.4.3" }, "devDependencies": { "@biomejs/biome": "2.3.12", "@types/bun": "1.3.14", "eslint": "^10.1.0", "husky": "^9.1.7", "lint-staged": "^16.4.0", "typescript-eslint": "^8.57.2", "ultracite": "7.1.1" }, "lint-staged": { ".{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}": [ "pnpm exec biome check --write --no-errors-on-unmatched" ] } }
Related Skills
taste-skill
101.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
101.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
77.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
64.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
