本文へスキップ
Skillpedia
SNS33k · #8710

curviate-quickstart

できること

このスキルは、AIがLinkedIn用のCurviateコマンドラインツールを初めて設定する手順を案内します。初めてLinkedInを接続する人向けです。

使う場面

  • ✓新しいコンピューターでCurviateを初めて設定するとき。
  • ✓Curviateのコマンドが見つからない、またはサインインしていないとき。
  • ✓Curviateのコマンドが、ログインやアカウントのエラーで失敗したとき。

スキルのリンク

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-quickstart/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-quickstart/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のLinkedInアカウントをエージェントが使えるように、Curviateの設定を手伝ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ツールをインストールし、ブラウザ上のコードでサインインし、LinkedInアカウントを接続して、読み取り専用の確認を実行します。キーはローカルに保存され、表示されません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Curviate: the first run

Four steps, in this order: install, authenticate, connect an account, prove it. Every command here is a read. Nothing in this skill posts, messages, invites, follows or endorses anyone.

Established against CLI 0.33.0.

1. Install the CLI

npm install -g @curviate/cli
curviate --version    # needs Node 18 or newer

2. Authenticate this machine: curviate setup

setup opens the dashboard, takes the short code it shows you, and saves an API key into a local profile. The key is never printed and never passed on a command line.

The command has two shapes, and which one you get is decided by whether stdout is a terminal.

Agent shape: two legs, because a browser has to happen in between

When stdout is not a terminal, or when --json is passed, setup prints a JSON object and exits 0. It does not prompt and it does not open a browser:

curviate setup --json
# {"authorize_url":"…","next_step":"curviate setup --code -","instructions":"…"}

Open authorize_url in a browser signed in to the workspace, press Authorize, and read back the code it displays. Then hand that code to the second leg on stdin:

printf '%s' "$CODE" | curviate setup --code -
# {"ok":true,"tenant":"…","profile":"default","account_id":"…"}
  • --code - reads from stdin deliberately. Passing the code as a flag value works but warns: a value on the command line is visible to other processes through ps and is saved in shell history.
  • The two legs must run on the same machine, under the same configuration directory. Leg one writes a short-lived resume file beside the config file, readable only by you, holding the session id and the private key that opens the delivered credential. Leg two reads it and deletes it. Split the legs across machines, users, containers or config-directory overrides and the exchange cannot complete.
  • --code - with no setup in progress exits 2 and says so. Run leg one first.
  • The code is short, case-insensitive, and drops anything that is not one of its own characters, so a pasted code with stray spaces or punctuation is still accepted.

Human shape

With stdout on a terminal and no --json, setup prints the link, opens a browser, and prompts for the code (up to three attempts). --no-browser prints the link rather than opening it, which is what you want over SSH or anywhere a browser would open on the wrong machine.

One asymmetry to know before scripting it: stdout on a terminal with stdin piped is refused at exit 2, because there is nowhere to paste a code into. It names CURVIATE_API_KEY and curviate login --api-key - as the alternatives. A fully piped invocation is not that case: it is the agent shape above, and it exits 0.

What each failure means

Exit Cause What to do
0 Authenticated. The key is saved to the named profile. Continue to doctor.
2 Usage: no setup in progress, or a terminal was needed and there was none. Fix the invocation. Never retry unchanged.
3 The code was wrong, expired, or the attempts ran out; or the workspace has no API key to deliver; or the key saved but a verifying call did not succeed. Read the message: these are deliberately four different sentences, and only the first is fixed by starting over. Wrong or expired code: run setup again for a fresh one. No API key: create one in the dashboard first. Saved but unverified: run doctor.
6 Too many attempts against this endpoint. Wait, then try again.
7 The API could not be reached. Check the network, and the base URL if you overrode it.
1 The exchange failed in a way the CLI did not expect, or the delivered credential could not be opened by this process. Worth one retry. If it repeats it is a bug to report, not a state to work around.

A code is short-lived and allows only a handful of attempts. If in doubt, start a fresh setup rather than reusing anything.

3. Confirm: curviate doctor

curviate doctor --json

It reports the CLI version, the config path, the active profile, the base URL, where the credential resolved from, which workspace it authenticated as, whether the API is reachable, whether the credential is accepted, and every connected account with its status.

Three things that surprise people:

  • Run setup first, then doctor, not the other way round. Reachability is only tes
よくある質問

このスキルはLinkedInに何か投稿しますか?

いいえ。設定の手順は読み取りのみで、投稿、メッセージ送信、招待は行いません。

ツールを動かすには何が必要ですか?

Curviateのコマンドラインツールには、Node 18以上が必要です。

サインインはどのように行いますか?

リンクを開き、ブラウザで承認すると、表示されたコードが戻されてサインインが完了します。

詳細

作者による元の説明

The first run: install the Curviate CLI, authenticate this machine with `curviate setup`, confirm with `curviate doctor`, connect a LinkedIn account, and prove the whole path works by reading the same profile live and then from the store. Use when Curviate is being set up for the first time, when `curviate` is not installed or not authenticated, when a command fails with a credential or account error, or when someone asks how to get started. Reads only: it issues no write of any kind.

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8710
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル