Share
Explore

icon picker
Savvy Changelog

Create, share and run runbooks from your terminal

Savvy Run: Search and run runbooks from the terminal

Forget copy-paste: Savvy automatically suggests the next command on the CLI for you. All you need to do is press enter.
savvy-run-launch.gif

Savvy Ask converts natural language to shell commands.

Personalized: Savvy generates commands tailored to your OS
Stay in the flow: Upload files from the terminal. Slice and dice data in seconds.
Iterate: Refine your prompts to nudge Savvy to your desired solution
savvy-ask-refine-launch-slow.gif

Savvy Explain helps you understand complex shell commands and errors.


Great for beginners and experts: Learn to use git or dive into ffmpeg and kubectl
RTFM? Not today: Understand error messages and flags without reading man pages
Pro tip: savvy explain !! explains your last command
savvy-explain.gif


savvy prompt

Savvy’s CLI automatically captures your shell prompt along with the command being executed.
It is vital to share the context within which a command or Runbook is executed and shell prompts are highest density source of such context.
Savvy’s CLI eliminates the need to capture this context manually.
image.png
Savvy Prompts

savvy record

savvy record starts a sub shell that is identical to your usual shell with one extra addition: all your commands are recorded and used to automatically generate a runbook when you exit the shell.
savvy automatically expands all your aliases so anyone can copy paste the commands.

savvy record —ignore-errors

Users shared that runbooks for disaster recovery and business continuity often have upwards of 50 steps. Errors and typo’s are inevitable when creating such a long runbook. Manually finding those typos and deleting them can itself become a source of error.
Passing —ignore-errors to savvy record ensures any command that returns a non-zero exit code is automatically ignored.
savvy-ignore-errors-coda.gif

savvy record history

Usually, we realize we should document/share something after doing it.
savvy record history allows you to create runbooks using your recent shell history.

savvy-record-history-coda.gif

Share Runbooks

Savvy runbooks are private by default.
Each runbook can be shared with your teammates using an unlisted link ( requires a savvy account to view) or make the runbook public to allow anyone with the link to view the runbook.
Only the owner of a runbook can edit the runbook or change its visibility level.

Export to Markdown

Savvy supports exporting runbooks as markdown.
# How To Validate Kubernetes Root Certificate
_Shantanu wanted to share this runbook with you. View the original on [Savvy](https://app.getsavvy.so/runbook/rb_7b74b43c5d61bd57)_.
1. Lists all pods in the current namespace.
~~~sh
kubectl get po
~~~
2. Extracts the Kubernetes root certificate and saves it to a file named ca.crt.
~~~sh
kubectl get cm kube-root-ca.crt -o json | jq -r '.data["ca.crt"]' > ca.crt
~~~
3. Checks the validity of the extracted certificate.
~~~sh
openssl x509 -text -in ./ca.crt -noout | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox} --color=auto -C 2 "Valid"
~~~

Get in touch

I want to hear from you. Share your feature requests, issues and questions on our , drop me an email ( shantanu @ getsavvy.so) or book a .

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.