shellink-iterm2-import

shellink-iterm2-import is a skill for Claude Code, Codex from jie123108/Shellink. It costs 51 tokens per session (555 once invoked), scanned A, original, MIT.

A macOS import tool that reads iTerm2 connection profiles and sends them to Shellink. iTerm2 is a Mac terminal app, while Shellink stores connection profiles.

In plain words
What is it for?
Use it to scan profiles, review possible imports, and import selected profiles by ID, name, or all at once. SSH commands become SSH profiles and other custom commands remain command profiles.
Why use it?
It avoids re-entering existing SSH connections and custom commands when moving from iTerm2 to Shellink.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jie123108/shellink/shellink-iterm2-import
Any agent
npx skills add jie123108/Shellink --skill shellink-iterm2-import
Clone the repo
git clone --depth 1 https://github.com/jie123108/Shellink

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shellink-iterm2-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/jie123108/shellink/shellink-iterm2-import.svg)](https://agentmods.dev/skills/jie123108/shellink/shellink-iterm2-import)
Your own site
<a href="https://agentmods.dev/skills/jie123108/shellink/shellink-iterm2-import"><img src="https://agentmods.dev/badge/skills/jie123108/shellink/shellink-iterm2-import.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 555 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00051 $0.00555
Opus 5 $0.00026 $0.00278
Sonnet 5 $0.00010 $0.00111
Haiku 4.5 $0.00005 $0.00056

Measured 5d ago against content hash 8ef9f286198b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

shellink-iterm2-import scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/import_iterm2.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shellink-iterm2-import/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

This skill runs on the Mac that owns the iTerm2 configuration. It reads the standard iTerm2 plist and DynamicProfiles directory, converts ssh commands to SSH profiles, keeps other Custom Commands as command profiles, and sends profiles through shellink profile create --input - or shellink profile update <id> --input -.

The server does not need an iTerm2-specific endpoint. Shellink encrypts any private key sent in the profile request; the scanner never prints private key contents.

Requirements

  • macOS with iTerm2 configuration files present.
  • Python 3.9 or newer.
  • A built and available shellink executable on PATH.

Workflow

Run the helper from the repository root:

python3 skills/shellink-iterm2-import/scripts/import_iterm2.py --json

Inspect the candidates, then import by Guid or exact name:

python3 skills/shellink-iterm2-import/scripts/import_iterm2.py --guid <guid>
python3 skills/shellink-iterm2-import/scripts/import_iterm2.py --name "Production"

Use --all only after reviewing the scan. Re-importing the same source is matched first by Shellink uniqueId (set to the iTerm2 Guid), then by exact name when uniqueId is missing (legacy imports). By default a matching profile is updated in place instead of creating a duplicate, so renaming the iTerm2 profile still updates the same Shellink row and refreshes its name. Name-matched legacy rows are backfilled with the Guid on update. Control this with --on-existing:

  • update (default): overwrite the matching profile (by uniqueId, else name).
  • skip: leave the matching profile untouched.
  • create: always create a new profile, allowing duplicates.

Use --dry-run to verify selection without contacting the server.

For SSH commands without an explicit -i, the helper checks ssh -G output and standard ~/.ssh identities. iTerm2 passwords are not exported by this skill; profiles without a readable private key are imported as password-auth profiles so the password can be added later in the Shellink Web console.

Read the full file on GitHub · 60 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 60 lines · 51 tokens per session scan A 8ef9f286198b

Subscribe to this mod's changes

shellink-iterm2-import is a skill published in the GitHub repository jie123108/Shellink (5 stars, last pushed 13d ago), licensed MIT. It adds 51 tokens to every session and 555 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cli-anything-jumpserver

Stateful CLI harness for JumpServer bastion host management. Supports asset, user, permission, account, session, audit, and operations management via REST API, with both one-shot and interactive REPL modes.

HKUDS/CLI-Anything · 49 tokens

oly

Use when starting a long-running or interactive CLI command with oly, especially when it may need later input, should be detachable, or should keep durable logs for supervision and resume.

slaveOftime/open-relay · 37 tokens

oly-apps

Use when building a web app/api to present rich output or interactive experiences to users.

slaveOftime/open-relay · 21 tokens

tui-explorer

Discover and replay terminal UI paths using agent-tui. Use when you need to launch a TUI app, explore navigation with bounded BFS, generate markdown acceptance tests, and verify those tests repeatedly. Do not use for web or desktop GUI automation.

pproenca/agent-tui · 54 tokens

drive-tui

Drive interactive terminal (TUI) programs — CLIs, REPLs, installers, menu apps, agent CLIs, and editors like vim — through a PTY, reading semantic screen snapshots. A pattern library classifies a screen (REPL, menu, pager, fzf search, confirm dialog, form, spinner, wizard) and drives it with a ready recipe. Use when a…

dwgx/SmartCLI · 116 tokens

tui-ui

Design web-like user interfaces in the terminal and inside tmux with a cell-grid Canvas, CSS-like box model, flexbox/grid layout, and 17 reusable widgets such as Panel, Table, Card, ProgressBar, Meter, Tabs, Tree, Badge, Banner, and a braille line chart. Use when an agent needs a dashboard, panel, table, status page…

dwgx/SmartCLI · 119 tokens