Antfu
Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring…
- Type
- Skill
- Repository
- antfu/skills
- GitHub stars
- 5.9k
- License
- MIT
- Repo last updated
- Sep 25, 2026
- Source file
- README.md
What Antfu is
Antfu is a skill published in the antfu/skills repository on GitHub, which has about 5.9k stars. The repository describes itself as: “Anthony Fu's curated collection of agent skills.”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Antfu a portable way to give Claude the same method everywhere.
How to install Antfu
Claude Code
- Download the antfu folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from README.md, shared under the repository's MIT license. Read the full file on GitHub.
A curated collection of Agent Skills reflecting Anthony Fu's preferences, experience, and best practices, along with usage documentation for the tools.
> [!IMPORTANT] > This is a proof-of-concept project for generating agent skills from source documentation and keeping them in sync. > I haven't fully tested how well the skills perform in practice, so feedback and contributions are greatly welcome.
Installation
pnpx skills add antfu/skills --skill='*'or to install all of them globally:
pnpx skills add antfu/skills --skill='*' -gLearn more about the CLI usage at skills.
Skills
This collection is aim to be a one-stop collection of you are mainly working on Vite/Nuxt. It includes skills from different sources with different scopes.
Hand-maintained Skills
> Opinionated
Manually maintained by Anthony Fu with his preferred tools, setup conventions, and best practices.
Skills Generated from Official Documentation
> Unopinionated but with tilted focus (e.g. TypeScript, ESM, Composition API, and other modern stacks)
Generated from official documentation and fine-tuned by Anthony.
FAQ
What Makes This Collection Different?
This collection is opinionated, but the key difference is that it uses git submodules to directly reference source documentation. This provides more reliable context and allows the skills to stay up-to-date with upstream changes over time. If you primarily work with Vue/Vite/Nuxt, this aims to be a comprehensive one-stop collection.
The project is also designed to be flexible - you can use it as a template to generate your own skills collection.
Skills vs llms.txt vs AGENTS.md
To me, the value of skills lies in being shareable and on-demand.
Being shareable makes prompts easier to manage and reuse across projects. Being on-demand means skills can be pulled in as needed, scaling far beyond what any agent's context window could fit at once.
You might hear people say "AGENTS.md outperforms skills". I think that's true — AGENTS.md loads everything upfront, so agents always respect it, whereas skills can have false negatives where agents don't pull them in when you'd expect. That said, I see this more as a gap in tooling and integration that will improve over time. Skills are really just a standardized format for agents to consume—plain markdown files at the end of the day. Think of them as a knowledge base for agents. If you want certain skills to always apply, you can reference them directly in your AGENTS.md.
Generate Your Own Skills
Fork this project to create your own customized skill collection.
- Fork or clone this repository
- Install dependencies: pnpm install
- Update meta.ts with your own projects and skill sources
- Run pnpm start cleanup to remove existing submodules and skills
- Run pnpm start init to clone the submodules
- Run pnpm start sync to pull the latest source docs
- Ask your agent to Generate skills for \<project\> (recommended one at a time to manage token usage)
See AGENTS.md for detailed generation guidelines.
Sponsors
License
Skills and the scripts in this repository are MIT licensed.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Antfu?
Antfu is a skill for Claude Code and Claude Cowork from the antfu/skills repository on GitHub. Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring…
How do I install Antfu in Claude Code?
Download the antfu folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Antfu in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Antfu safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Text To Lottie Create, edit, or fix Lottie/Bodymovin JSON animations for the local Skia Skottie player. Use for text-to-Lottie, SVG/logo/type animation… Skill · diffusionstudio/lottie
- Dev Browser Browser automation with persistent named pages via the dev-browser CLI. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, log into sites, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", "open the browser", or any… Skill · SawyerHood/dev-browser
- Analyzing Dotnet Performance Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with… Skill · dotnet/skills
- Acquisition Channel Advisor Evaluate acquisition channels using unit economics, customer quality, and scalability. Use when deciding whether to scale, test, or kill a… Skill · deanpeters/Product-Manager-Skills
- Bb Methodology Use at the START of any bug bounty hunting session, when switching targets, or when feeling lost about what to do next. Master… Skill · awarexone/Agentic-Bug-Hunter
- Browser Cdp Use this skill when you need to control a Chrome browser via CDP (Chrome DevTools Protocol) to reuse existing login sessions. Covers… Skill · zenstory-ai/oh-story-claudecode
- Mcp Config Configure MCP (Model Context Protocol) servers for Claude Code. Manage MCP servers at user or project scope with best practices to avoid… Skill · libukai/awesome-agent-skills
- Address Sanitizer AddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs. Skill · trailofbits/skills