Skip to main content

agentic-link

Share a document as a link: the content lives in the URL fragment, with no account and no server read. Use to hand a snapshot to a person as one URL, or to open one safely.

Source facts

Repository
pooriaarab/agentic-link
Last source activity
October 29, 2026 at 10:18
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
agentic-link
description
Share a document as a link: the content lives in the URL fragment, with no account and no server read. Use to hand a snapshot to a person as one URL, or to open one safely.
# agentic-link ```js import { encode, decode } from "agentic-link"; const fragment = await encode({ app: "notes", version: 1, payload: { title: "Hi" } }); const { payload } = await decode(fragment, schema, { app: "notes" }); ``` Password mode: `encodeSealed(snapshot, password)` and `decodeSealed(fragment, password, schema)`. Short links: `shorten(link, { endpoint })` returns `https://host/s/<id>#<key>`. `resolveShort(url, { allowedHosts })` opens it. ## CLI and MCP ```sh agentic-link encode --app notes --json '{...}' --base https://app.example/notes # one URL agentic-link shorten "$URL" --endpoint https://links.example agentic-link open "$URL" --allow-host links.example agentic-link mcp # tools: encode_link, decode_link, shorten_link, open_link ``` Passwords: `--password-env VAR` or `--password-file`. Never on the command line. ## Rules - Always pass a schema to `decode`. - A `CodecError` is a refusal. Report its `code`. Do not retry with higher limits. - Never print a decoded payload into logs. - Send the password by another route than the link. - A short URL holds the key. Do not log it.
View on GitHub