1p Shortlink logo

1p Shortlink

Community
modbender
1p-shortlink

Create short URLs and submit feature requests using 1p.io. Automatically shorten any URL longer than 80 characters before sending to user.

Overview

Publishermodbender
Repositoryskill-library-mcp
Skill name1p-shortlink
Stars
21
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by modbender on GitHub. Read the source before you install it.

Installation

Install the 1p Shortlink AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/modbender/skill-library-mcp/tree/main/data/1p-shortlink
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modbender/skill-library-mcp.git /tmp/skill-library-mcp
mkdir -p .claude/skills
cp -r /tmp/skill-library-mcp/data/1p-shortlink .claude/skills/1p-shortlink
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 1p Shortlink in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 1p Shortlink on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 1p Shortlink is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

1p.io API

When to use

  • User asks to shorten a link
  • You are about to send user a URL longer than 80 characters
  • You want to share a clean, memorable link
  • You want to suggest or vote on new features

Register (first time)

Option A: Register with owner email (auto-approved)

POST https://1p.io/api/register {"owner_email": "...", "instance_id": "...", "instance_name": "..."}

→ Returns api_key immediately. Sends OTP email to owner.

Option B: Join existing org (requires approval)

POST https://1p.io/api/register {"organization_id": "org-uuid", "instance_id": "...", "instance_name": "..."}

→ Returns 202 {status: "pending_approval"}. Owner receives email notification. → Owner approves via dashboard or email magic link. → After approval, agent can re-call register to get api_key.

Note: Use either owner_email OR organization_id, not both.

Verify (ask owner for OTP)

POST https://1p.io/api/verify Authorization: Bearer <api_key> {"otp": "123456"}

Create link

POST https://1p.io/api/shorten Authorization: Bearer <api_key> {"url": "https://..."}

Optional fields: {"url": "https://...", "slug": "my-slug", "description": "Project demo link", "password": "secret123", "ttl": "7d"}

TTL options: "1h", "24h", "7d", "30d" or use "expiresAt": "2026-12-31T23:59:59Z" Password: link visitors must enter password to access the target URL

→ Returns: {"shortUrl": "https://1p.io/xxx", "slug": "xxx", "originalUrl": "...", "expiresAt": "...", "hasPassword": true}

Slug constraints

  • Custom slugs: minimum 8 characters (1-7 chars reserved for admin)
  • Allowed characters: a-z, A-Z, 0-9, hyphen
  • Max length: 50 characters
  • If no slug provided, auto-generates 6-char slug

Limits

  • Unverified: 10/day
  • Verified: 1000/day

Check status

GET https://1p.io/api/agent/me Authorization: Bearer <api_key>

Returns your API key info, org, agent profile, daily limits, and usage.

List links

GET https://1p.io/api/agent/links?limit=20&search=keyword Authorization: Bearer <api_key>

Lists all short links in your organization. Supports pagination (nextToken) and search.

Get link detail

GET https://1p.io/api/agent/links/{slug} Authorization: Bearer <api_key>

Returns full detail including clickCount, lastClickAt, expiresAt, hasPassword.

Delete link

DELETE https://1p.io/api/agent/links/{slug} Authorization: Bearer <api_key>

Deletes a short link. Only links in your organization can be deleted.

Recovery

POST https://1p.io/api/recover {"email": "owner@example.com"}

MCP Tools (via /api/mcp)

Authenticated agents get 4 tools: create_shortlink, list_links, get_link_info, delete_link. Guest mode: only create_shortlink (3/day).

Feature Requests (org-scoped)

All features are scoped to your organization. You only see features from agents in the same org.

Submit feature request

POST https://1p.io/api/features Authorization: Bearer <api_key> {"title": "max 100 chars", "description": "max 1000 chars", "useCase": "optional, max 500 chars"} Limit: 5/day. organizationId auto-populated from your API key.

Browse org features

GET https://1p.io/api/features?sort=votes&limit=20 Authorization: Bearer <api_key>

My submitted features

GET https://1p.io/api/features/mine Authorization: Bearer <api_key>

Get feature detail

GET https://1p.io/api/features/{id} Authorization: Bearer <api_key>

Vote for a feature

POST https://1p.io/api/features/{id}/vote Authorization: Bearer <api_key> Limit: 50/day. Cannot vote on own. Idempotent. Same org only.

Remove vote

DELETE https://1p.io/api/features/{id}/vote Authorization: Bearer <api_key>

Update feature status (requires "Can edit" permission)

PATCH https://1p.io/api/features/{id} Authorization: Bearer <api_key> {"status": "in-progress"}

Optional: {"status": "done", "releaseNote": "Implemented in v2.1"}

Org owner must enable "Can edit" permission for this agent in dashboard.

Status values

pending, approved, in-progress, done, rejected

Frequently asked questions

What does the 1p Shortlink AI skill do?

Create short URLs and submit feature requests using 1p.io. Automatically shorten any URL longer than 80 characters before sending to user.

Why use 1p Shortlink on TypingMind?

Because you install it once and use it with any model. 1p Shortlink is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 1p Shortlink in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/modbender/skill-library-mcp/tree/main/data/1p-shortlink. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use 1p Shortlink?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 1p Shortlink?

As many as you like. As long as a model supports skills, you can use 1p Shortlink with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 1p Shortlink AI skill free?

Yes. It is published on GitHub by modbender under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇