# Ni url2md

> Ni url2md is an open-source agent skill for web search and scraping. Fetches web pages into Markdown with source URL, title, and capture time kept. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ttttstc/ni-skill/tree/main/skills/ni-url2md
- **Repository:** https://github.com/ttttstc/ni-skill
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** ni-url2md
- **Collection:** https://github.com/ttttstc/ni-skill
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-12-04

## About

This skill turns blogs, official docs, changelogs and original posts into Markdown files that keep the source URL, title, author, publish date and capture time. It drives a real Chrome browser through Bun and the Chrome DevTools Protocol, so JavaScript-rendered pages and pages behind a login can be captured. Navigation, ads and sidebars are stripped, but the text itself is left unsummarized and unedited.

By default the output goes to a local data directory with a path built from the domain and title. Only when the caller explicitly gives an archive target does it write into a weekly folder inside an Obsidian-style material library, add a source tier label to the record, and refuse to overwrite existing files unless told to. Captchas and paywalls are not bypassed; the --wait option pauses so the user can log in or scroll before capture.

It expects Node tooling via npx to run Bun, a local Chrome installation, and an HTTP(S) URL. Video and audio transcription are handled by a separate skill.

## When your agent uses it

> 将博客、官方文档、更新日志、原始帖子等网页抓取为保留来源元数据的 Markdown。默认只抓取到本地数据目录；只有调用方明确提供归档路径时，才写入 Obsidian 周目录。只清理网页结构，不总结、不改写、不直接写文章。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python and TypeScript scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-url2md)
- [Network calls found in its scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-url2md)
- [License: MIT](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-url2md)

## Features

- **Browser-based page capture:** Uses a real Chrome instance over CDP to capture JavaScript-rendered and login-protected pages.
- **Source metadata preservation:** Keeps the original URL, title, author, publish date and capture timestamp in front matter.
- **Boilerplate cleanup:** Removes navigation, ads and sidebars while leaving the article text unsummarized.
- **Explicit archive mode:** Writes to a weekly archive folder only when the caller names a target directory.
- **Overwrite protection:** Refuses to replace existing files unless the overwrite flag is passed.
- **Source tier labeling:** Marks archived material as official, original or secondary for the researcher to review.

## Good for

- Save a vendor's changelog page as Markdown with its URL and capture date
- Fetch a blog post behind a login after signing in manually
- Convert official API documentation pages into local Markdown for reference
- Archive a batch of source pages into a weekly materials folder

## Install

### Claude Code

This skill ships in the `ni-skill` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ttttstc/ni-skill
/plugin install ni-skill@ni-skill
```

Or copy only this skill to `~/.claude/skills/ni-url2md`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ni-url2md &&
cp -R "$tmp/skills/ni-url2md" ~/.claude/skills/ni-url2md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ni-url2md` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ni-url2md` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ni-url2md &&
cp -R "$tmp/skills/ni-url2md" ~/.agents/skills/ni-url2md &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ni-url2md` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ni-url2md` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ni-url2md &&
cp -R "$tmp/skills/ni-url2md" ~/.cursor/skills/ni-url2md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ni-url2md` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ttttstc/ni-skill.git --path skills/ni-url2md
```

Or copy the folder to `~/.gemini/skills/ni-url2md` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ni-url2md`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ni-url2md &&
cp -R "$tmp/skills/ni-url2md" ~/.copilot/skills/ni-url2md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ni-url2md` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ttttstc/ni-skill.git
```

Then copy `ni-skill/skills/ni-url2md` into your agent's skills folder as `ni-url2md`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It runs the bundled script through npx with Bun, uses a local Chrome browser, and needs an HTTP(S) URL.

### Where are files saved by default?

Without an explicit output path, files go to a domain and title based path under the URL_DATA_DIR data directory, not to Obsidian.

### Will Ni url2md overwrite existing archives?

No. It refuses to overwrite existing target files unless the --overwrite flag is explicitly given.

### Does Ni url2md bypass captchas or paywalls?

No. It does not bypass captchas, paywalls or access controls; the --wait option lets the user complete login steps in the browser.

### How do I install Ni url2md in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ni-url2md to use it in all your projects, or to .claude/skills/ni-url2md in one project. Or install the ni-skill plugin, which includes it: /plugin marketplace add ttttstc/ni-skill, then /plugin install ni-skill@ni-skill.

### Does Ni url2md run scripts?

Yes. It runs Python and TypeScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ni url2md?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ni url2md?

The closest alternatives to Ni url2md are Web read, Scrapling ops, Parallel web extract, Read deleted pages and Lit browser fetch.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Web read](https://ai-powered.com/skills/web-read): Web read is an open-source agent skill for web search and scraping.
- [Scrapling ops](https://ai-powered.com/skills/scrapling-ops): Scrapling ops is an open-source agent skill for web search and scraping.
- [Parallel web extract](https://ai-powered.com/skills/parallel-web-extract): Parallel web extract is an open-source agent skill for web search and scraping.
- [Read deleted pages](https://ai-powered.com/skills/read-deleted-pages): Read deleted pages is an open-source agent skill for web search and scraping.
- [Lit browser fetch](https://ai-powered.com/skills/lit-browser-fetch): Lit browser fetch is an open-source agent skill for web search and scraping.
- [Tavily search](https://ai-powered.com/skills/tavily-search): Tavily search is an open-source agent skill for web search and scraping.
- [Decodo web scraping](https://ai-powered.com/skills/decodo-web-scraping): Decodo web scraping is an open-source agent skill for web search and scraping.
- [Rust daily](https://ai-powered.com/skills/rust-daily): Rust daily is an open-source agent skill for web search and scraping.

---
Source: https://ai-powered.com/skills/ni-url2md
