agentleFS
discolikediscolike/discolike-skills/skills/setup/SKILL.md

setup

Skill3 starsChanged 3 months agoMITView on GitHub

DiscoLike setup — connect the agent to DiscoLike. Use when no DiscoLike MCP tools are visible and `discolike` is not on PATH, when `discolike auth status` or `account usage` fails on auth, when the CLI on PATH is older than 0.4.1, or when the user asks to set up, connect, or log in to DiscoLike. Signs in, or opens an account when there is none.

  • Reads credentials
  • Installs packages

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If tools named discover-similar-companies or account-status are in your tool list, call account-status.

    line 13
  2. Distinctive:

    Read the exit code and the JSON, not any prose.

    line 21
  3. Very specific:

    Ask, with AskUserQuestion when available: does the user already have a DiscoLike account?

    line 47
  4. Very specific:

    Yes, key in hand: ask the user to run discolike auth login --api-key <KEY> themselves, or set DISCOLIKE_API_KEY in their own shell.

    line 57
  5. Distinctive:

    No account: ask for the work email, first and last name, show the user the exact values, and run this only after they say yes.

    line 59

“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DiscoLike setup

Two doors: the hosted MCP server (best when the client supports remote MCP) and the discolike CLI (best when shelling out). Either one signed in is enough. Work through the steps in order and stop at the first one that proves a working connection.

1. Is MCP already connected?

If tools named discover-similar-companies or account-status are in your tool list, call account-status. Success means DiscoLike is connected through MCP: name the plan and remaining quota in one line and stop. Skip the CLI steps unless the user wants the CLI too.

2. Is the CLI signed in?

discolike auth status; echo "exit_code=$?"

Read the exit code and the JSON, not any prose.

  • exit_code=0 with "valid": true: signed in. Run discolike --version; at 0.4.1 or later, stop. Older, go to step 3.
  • exit_code=3: a credential is missing or rejected. Go to step 4.
  • command not found: go to step 3.
  • exit_code=5: network. Say so and stop; nothing here fixes that.

3. Install or upgrade the CLI

The skills need discolike-cli 0.4.1 or later. Do not install packages yourself; ask the user to run one of these in their own terminal:

pip install --upgrade discolike-cli
uv tool install discolike-cli   # or: uv tool upgrade discolike-cli

Then confirm:

discolike --version; echo "exit_code=$?"

At 0.4.1 or later, go back to step 2. command not found right after installing means the install's script directory is not on PATH in this shell; have the user open a new shell.

4. Sign in, or open an account

Ask, with AskUserQuestion when available: does the user already have a DiscoLike account?

Yes, browser available:

discolike auth login

Opens the browser for OAuth and stores the session under ~/.config/discolike/. Over SSH or without a browser, discolike auth login --no-browser --port 8765 prints the URL to open elsewhere.

Yes, key in hand: ask the user to run discolike auth login --api-key <KEY> themselves, or set DISCOLIKE_API_KEY in their own shell. Never ask for the key in chat, never read it from a file they did not name, and never write it into a config file yourself.

No account: ask for the work email, first and last name, show the user the exact values, and run this only after they say yes.

discolike signup --email 'jane@acme.com' --first-name 'Jane' --last-name 'Doe'

Single-quote every value so spaces and shell characters in a name stay literal; a name with an apostrophe goes in double quotes instead. Nothing sensitive comes back. The person confirms by email, picks a plan, and then runs discolike auth login. Free-mail and disposable domains are rejected; a 409 means the account exists, so send them to log in. Stop here and tell the user what to do next; the rest of setup waits for the confirmed account.

5. Verify

discolike account usage --format json

Report the plan and remaining quota in one sentence. Then return to whatever the user asked for; if setup was the whole request, offer one concrete first task: a free discolike count for their ICP, or a 25-record discover sample.

Troubleshooting

SymptomCauseFix
discolike: command not found after step 3Install directory not on PATH in this shellOpen a new shell
auth status exit 3 right after loginExpired OAuth sessiondiscolike auth logout, then discolike auth login
Browser never opensHeadless or SSH sessiondiscolike auth login --no-browser --port <n> and forward the port
MCP tools missing after adding the serverClient needs a restart, or OAuth was not completedRestart the client, retry the authorization

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.