Chuyển đến nội dung
Skillpedia
Mạng xã hội33k · #8710

curviate-quickstart

Skill này làm gì

Skill này hướng dẫn AI của bạn thiết lập công cụ dòng lệnh Curviate cho LinkedIn lần đầu. Nó dành cho người kết nối LinkedIn lần đầu tiên.

Khi nào nên dùng

  • ✓Khi bạn thiết lập Curviate trên một máy tính mới lần đầu.
  • ✓Khi lệnh Curviate bị thiếu hoặc bạn chưa đăng nhập.
  • ✓Khi một lệnh Curviate thất bại do lỗi đăng nhập hoặc lỗi tài khoản.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-quickstart/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy giúp tôi thiết lập Curviate để agent của tôi có thể dùng tài khoản LinkedIn của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent cài công cụ, đăng nhập bằng mã trong trình duyệt, kết nối tài khoản LinkedIn và chạy các kiểm tra chỉ đọc. Khóa được lưu cục bộ và không được hiển thị.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Skill này có đăng gì lên LinkedIn không?

Không. Các bước thiết lập chỉ đọc và không đăng, nhắn tin hay mời ai.

Công cụ cần gì để chạy?

Công cụ dòng lệnh cần Node 18 trở lên.

Việc đăng nhập hoạt động thế nào?

Bạn mở một liên kết, chấp thuận trong trình duyệt, và mã bạn thấy sẽ được chuyển lại để hoàn tất đăng nhập.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8710
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự