fp-cloud-cli
The way to answer "how are my production AI agents doing?" and to run the team's agent-observability deployment — reach for it even on casual phrasing that names no tool.
Оригинален текст · няма потвърден превод на българскиПърво прочетете инструкцията.
Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.
GitHub хранилище- Звезди на репото
- 5121
- Лиценз
- NOASSERTION
- Последна проверка на записа
- 22.09.2026 г.
Добавете в своя инструмент.
Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.
npx skills add FailproofAI/failproofaiСтраницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.
Откъс от SKILL.md
Началото на файла на автора, без превод.
FailproofAI Cloud CLI
fp is a command-line client for a FailproofAI Cloud deployment. It authenticates
either as a signed-in user or with a scoped API key (§2), and every command
takes --json, so it's built to be driven by an agent.
1. Find how to invoke it
Resolve this once, then reuse it for every call:
- If
fpis onPATH(command -v fp) → usefp(it's installed via pipx / uv tool / pip). This is the normal case. - Else, if you're in (or under) a repo with an
fp-cloud-cli/directory containing thefp_clipackage → run it from there withuv run fp(a local dev build). The first run after a code change printsBuilding…/Installed…on stderr — that'suv, not CLI output; ignore it. - Else the CLI isn't available here → tell the user to install it
(
pipx install fp-cloud-clioruv tool install fp-cloud-cli) and stop. Don't try to reach the dashboard another way.
Don't go spelunking in the CLI source tree for flags — if you're unsure of one,
run fp <group> <cmd> --help. The source is not the documented contract
and reading it wastes effort.
Throughout this skill, fp means "whichever form you resolved."
2. The contract (the CLI enforces it, work with it, don't fight it)
-
Global options go BEFORE the command:
fp --json events, neverfp events --json. Globals are--base-url,--org,--token,--api-key,--json,--insecure/--secure. After the command they're a usage error. -
Two ways to authenticate, and they are not interchangeable:
How you supply it What it is Session fp login(interactive; it emails a one-time code)a signed-in user, carrying that person's org memberships and permissions API key --api-key <key>, orFP_API_KEYin the environmenta scoped credential, carrying exactly the permissions it was granted A key is what you want in CI or any other non-interactive context: no browser, no emailed code, nothing to expire mid-run.
Credential precedence, in full (
resolve_auth,fp_cli/_context.py). Read it as a ladder — the first rung that applies wins, and an explicit flag outranks every environment variable, not just its own: