AI Skills & Learning
Tutorials and guides for leveling up with AI tools
All AI Skills & Learning articles
Claude Code Hooks: A Practical Guide With Six Recipes
Claude Code hooks run your own shell commands, HTTP endpoints, MCP tools, prompts, or agents at fixed points in a session. You define them in settings.json, narrow them with matchers, and block actions with exit code 2 or JSON. Exit 0 is not approval, and a hook allow never loosens your deny rules.
How to Build a Claude Code Mod: Files, Hooks, State, and Testing
A Claude Code mod is a plugin whose JavaScript or TypeScript hooks run inside your session. Ask Claude to write one, or create plugin.json, hooks/hooks.json, and a module that exports register. Load it with --plugin-dir, keep state in $.state, then check it with claude plugin validate and claude plugin test.
Chrome Skills: How to Save Gemini Prompts as One-Click Tools (Complete Guide)
Chrome Skills launched April 14, 2026 turn any Gemini prompt into a reusable one-click button inside the Chrome side panel. You can save your own prompts as Skills, run them across single or multiple tabs, edit any pre-built Skill, and trigger the whole library with the forward-slash menu. This guide covers the setup, the workflows worth automating first, and the limits to know about.
Auto-Generate Cursor Rules and Skills From Your Chat History
Cursor stores agent sessions as JSONL transcripts on disk, which means an agent can read its own history and propose rules and skills based on patterns it spots. Eric Zakariasson's prompt formalizes this -- point Cursor at your transcripts and it emits ready-to-save .cursor/rules/*.mdc and .cursor/skills/<slug>/SKILL.md files for review.
How to Build Your Own MCP Server: A Beginner's Guide
To build an MCP server in TypeScript, install the v2 SDK package @modelcontextprotocol/server with Zod v4, register each tool with server.registerTool and a Zod input schema, serve it over stdio, then add it to Claude Code with claude mcp add or a .mcp.json entry. A one-tool server is about 50 lines.