Agents is a tiny CLI that renders a project-local AGENTS.md from a shared
template (~/.agents.md). It detects the project root, evaluates simple
filesystem and environment matchers (e.g., exists("**/*.rs"), env(CI)), and
produces deterministic, idempotent output. Run agents in your project or pass
a path.
cargo clippy -q --fix --all-targets --all-features --allow-dirty --tests --examples 2>&1Clippy prints warnings on stderr. To see all output in this interface, we merge stderr into stdout. Fix all remaining warnings manually.
Ensure the code is formatted according to Rust standards. Use the following command:cargo fmt --all cargo test --allcargo add mycrateUse this tool when:
- You need to look up a function/trait/struct signature.
- You want an overview of a public or private API.
- The user asks for examples or docs from a crate.
<ruskel_tips>
- Request deep module paths (e.g.
tokio::sync::mpsc) to keep the reply below your token budget. - Pass the
--privateflag to include non‑public items. Useful if you're looking up details of items in the current codebase for development. </ruskel_tips>
# Current project
ruskel
# A trait in the standard library
ruskel std::io::Read
# If we're in a workspace and we have a crate mycrate
ruskel mycrate
# A method on a struct in the current crate
ruskel mycrate::Struct::method
# A dependency of the current project, else we fetch from crates.io
ruskel serde
# A sub-path within a crate
ruskel serde::de::Deserialize
# Filesystem path to a crate
ruskel /my/path
# A module within that crate
ruskel /my/path::foo
# A crate from crates.io with a specific version
ruskel [email protected]