{"id":50645383,"url":"https://github.com/priornetwork/prior-cli","last_synced_at":"2026-06-07T12:01:28.781Z","repository":{"id":349594961,"uuid":"1203036260","full_name":"PriorNetwork/prior-cli","owner":"PriorNetwork","description":"Prior Network AI command-line interface","archived":false,"fork":false,"pushed_at":"2026-06-06T16:57:05.000Z","size":1826,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T18:22:12.331Z","etag":null,"topics":["agent","ai","chatbot","cli","nodejs","prior-network","terminal"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PriorNetwork.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-06T16:53:13.000Z","updated_at":"2026-06-06T16:57:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/PriorNetwork/prior-cli","commit_stats":null,"previous_names":["niceguygamer/prior-cli","priornetwork/prior-cli"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/PriorNetwork/prior-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriorNetwork%2Fprior-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriorNetwork%2Fprior-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriorNetwork%2Fprior-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriorNetwork%2Fprior-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PriorNetwork","download_url":"https://codeload.github.com/PriorNetwork/prior-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriorNetwork%2Fprior-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","chatbot","cli","nodejs","prior-network","terminal"],"created_at":"2026-06-07T12:01:27.571Z","updated_at":"2026-06-07T12:01:28.774Z","avatar_url":"https://github.com/PriorNetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prior CLI\n\n[![npm version](https://img.shields.io/npm/v/prior-cli?color=00ffcc\u0026label=prior-cli)](https://www.npmjs.com/package/prior-cli)\n[![npm downloads](https://img.shields.io/npm/dw/prior-cli?color=8DE0FC)](https://www.npmjs.com/package/prior-cli)\n[![license](https://img.shields.io/npm/l/prior-cli)](./LICENSE)\n[![node](https://img.shields.io/node/v/prior-cli)](https://nodejs.org)\n\n**Prior** is an agentic AI assistant for your terminal — it can write and edit code, search your\ncodebase, research the web, run commands, generate images, and automate Prior services. Built on\nthe Prior Network platform.\n\n```\n  ██████╗ ██████╗ ██╗ ██████╗ ██████╗\n  ██╔══██╗██╔══██╗██║██╔═══██╗██╔══██╗\n  ██████╔╝██████╔╝██║██║   ██║██████╔╝\n  ██╔═══╝ ██╔══██╗██║██║   ██║██╔══██╗\n  ██║     ██║  ██║██║╚██████╔╝██║  ██║\n  ╚═╝     ╚═╝  ╚═╝╚═╝ ╚═════╝ ╚═╝  ╚═╝\n```\n\n## Install\n\n**Windows — no Node.js needed:** [download `prior.exe`](https://github.com/PriorNetwork/prior-cli/releases/latest/download/prior.exe) from the latest release and run it.\n\n**Cross-platform (npm):**\n\n```bash\nnpm install -g prior-cli\n```\n\n## Login\n\n```bash\nprior login\n```\n\nOpens a browser window to sign in with your Prior Network account.\n\n## Usage\n\n```bash\nprior chat\n```\n\nStarts an interactive chat session. Prior is an agentic AI — it can read, write, and edit files, search your codebase, run shell commands, research the web, generate images, and automate Prior services, chaining tools together to finish a task from a single prompt.\n\n## What Prior can do\n\n| Capability | Example prompt |\n|---|---|\n| **Read / write files** | `read package.json` |\n| **Edit code (surgical)** | `in server.js change the port to 4000` |\n| **Search the codebase** | `find every place we call fetchUser` |\n| **Coding** | `write a python script that prints fibonacci numbers` |\n| **Shell** | `what node version am i on` |\n| **Web research** | `what is the latest news in the philippines` |\n| **Weather** | `what's the weather in tokyo` |\n| **Image generation** | `generate a sunset over the ocean` |\n| **Prior Network** | `show my prior profile` |\n\n## Agent mode\n\nPrior runs as an autonomous agent — it chains multiple tool calls together to complete complex tasks without you breaking them down step by step.\n\n```\n\u003e find where generate_image is defined, then change its default steps to 25\n```\n\nPrior locates the file, searches for the code, reads it, and makes a surgical edit — all in one go.\n\n## Attach files with `@`\n\nType `@` to pull a file into the conversation as context — an interactive picker appears (↑/↓ to select, Tab/Enter to insert).\n\n```\n\u003e summarize @src/server.js and suggest improvements\n```\n\n## One-shot mode\n\nRun a single prompt and exit — scriptable and pipe-able, no chat session.\n\n```bash\nprior run \"explain what this project does\"\ncat error.log | prior run \"what's causing this error?\"\nprior run --yes \"in config.js bump the timeout to 30s\"   # --yes auto-approves edits\n```\n\n## Slash commands\n\n| Command | Description |\n|---|---|\n| `/help` | Show available commands |\n| `/clear` | Clear the conversation |\n| `/save \u003cname\u003e` | Save the current session |\n| `/load \u003cname\u003e` | Load a saved session |\n| `/saves` | List all saved sessions |\n| `/delete \u003cname\u003e` | Delete a saved session |\n| `/compact` | Compress the conversation to free up context |\n| `/learn` | Scan the current directory into a `prior.md` project context |\n| `/usage` | Show today's token usage |\n| `/timer \u003cduration\u003e` | Start a countdown timer (e.g. `30s`, `5m`, `1m30s`) |\n| `/update` | Check for updates and install if behind (works for npm and the exe) |\n| `/uncensored` | Load Prior Uncensored model |\n| `/censored` | Load Prior Standard model |\n| `/exit` | Exit the CLI |\n\n## Tips\n\n- **Attach files** — type `@` for an interactive file picker that adds a file's contents as context\n- **Multiline input** — end a line with `\\` and press Enter to continue on the next line\n- **Clipboard images** — press `Alt+V` to attach an image from your clipboard\n- **Cancel** — press `Ctrl+C` to cancel a running response\n\n## Requirements\n\n- Node.js 16+ (npm install), **or** the standalone `prior.exe` — no Node needed\n- A [Prior Network](https://priornetwork.com) account\n\n## Maintainers\n\nSee **[guide.md](guide.md)** for the release process — versioning, publishing to npm,\nbuilding/attaching the standalone `prior.exe`, the self-updater, and the CI workflows.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriornetwork%2Fprior-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriornetwork%2Fprior-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriornetwork%2Fprior-cli/lists"}