Skip to content
OpenSmartRoute
Skillv1.0.0

linktree-hello-world

Create a minimal working Linktree example. Trigger: "linktree hello world", "linktree example", "test linktree".

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (plugins/saas-packs/linktree-pack/skills/linktree-hello-world/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill linktree-hello-world. Copyright stays with the author (MIT).

Linktree Hello World

Overview

Minimal working examples demonstrating core Linktree API functionality.

Instructions

Step 1: Get Profile

const profile = await client.profiles.get('myprofile');
console.log(`Bio: ${profile.bio}`);
console.log(`Links: ${profile.links.length}`);

Step 2: Create a Link

const link = await client.links.create({
  profile_id: profile.id,
  title: 'My Website',
  url: 'https://example.com',
  position: 0,  // Top of list
  thumbnail: 'https://example.com/icon.png'
});
console.log(`Created link: ${link.id}`);

Step 3: Update Link

await client.links.update(link.id, {
  title: 'Updated Title',
  archived: false
});

Step 4: List All Links

const links = await client.links.list({ profile_id: profile.id });
links.forEach(l => console.log(`${l.position}: ${l.title} → ${l.url}`));

Error Handling

Error Cause Solution
Auth error Invalid credentials Check LINKTREE_API_KEY
Not found Invalid endpoint Verify API URL
Rate limit Too many requests Implement backoff

Resources

Next Steps

See linktree-local-dev-loop.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-linktree-hello-world/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-linktree-hello-world.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-linktree-hello-world",
  "kind": "skill",
  "name": "linktree-hello-world",
  "description": "Create a minimal working Linktree example. Trigger: \"linktree hello world\", \"linktree example\", \"test linktree\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general_chat"
    ],
    "tags": [
      "skill-md",
      "saas",
      "linktree",
      "social",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Create a minimal working Linktree example. Trigger: \"linktree hello world\", \"linktree example\", \"test linktree\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "plugins/saas-packs/linktree-pack/skills/linktree-hello-world/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/saas-packs/linktree-pack/skills/linktree-hello-world/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/plugins/saas-packs/linktree-pack/skills/linktree-hello-world/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(npm:*),",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Linktree Hello World\n\n## Overview\n\nMinimal working examples demonstrating core Linktree API functionality.\n\n## Instructions\n\n### Step 1: Get Profile\n\n```typescript\nconst profile = await client.profiles.get('myprofile');\nconsole.log(`Bio: ${profile.bio}`);\nconsole.log(`Links: ${profile.links.length}`);\n```\n\n### Step 2: Create a Link\n\n```typescript\nconst link = await client.links.create({\n  profile_id: profile.id,\n  title: 'My Website',\n  url: 'https://example.com',\n  position: 0,  // Top of list\n  thumbnail: 'https://example.com/icon.png'\n});\nconsole.log(`Created link: ${link.id}`);\n```\n\n### ",
  "cost": {
    "context_tokens": 320
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-linktree-hello-world/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.