Clyde Help

agent

Scan repository context and ask a local model for feedback.

AccessReads repo and sends selected context
NetworkLocal Ollama by default
SourceBuilt-in Clyde command
Clyde agent command scanning repository context and requesting local model feedback
Agent scans bounded repository context, sends selected chunks to the configured local model, and returns actionable repository feedback.

Syntax#

clyde agent REPO [scan flags] [--model MODEL] [--ollama-url URL] [--max-context-chars N] [--allow-remote-ollama] [PROMPT]

Options#

FlagPurpose
--modelOllama model name.
--ollama-urlOllama base URL.
--timeoutSeconds to wait for Ollama.
--max-context-charsMaximum repository context characters to send.
--num-ctxOllama context window tokens; 0 uses model default.
--no-streamWait for full response before printing.
--prompt-fileRead feedback prompt from file.
--stdinRead feedback prompt from stdin.
--allow-remote-ollamaAllow sending scanned source context to a non-local Ollama URL.
--includeOnly include matching globs; repeatable.
--excludeSkip matching globs in addition to defaults; repeatable.
--max-file-bytesSkip files larger than this many bytes.
--max-chunk-charsSplit source text at this many characters.

Arguments#

  • REPO
  • PROMPT

Examples#

clyde agent . "Review this repository for missing tests"
clyde agent . --include "internal/**/*.go" --prompt-file review.md
cat review.md | clyde agent . --stdin

Example Use Cases#

Build a bounded repository prompt from scanned chunks. Agent refuses non-local Ollama URLs unless --allow-remote-ollama is explicit.

Safety Notes#

Clyde is a local workflow harness, not an operating-system sandbox. Review bundles before upload, keep NotebookLM notebooks private, and avoid sending secrets, customer data, production records, tokens, credentials, browser state, or private keys.