@akash-network/setup-env
ASet up development environment by loading direnv. Must be run before any make targets (tests, builds, linting).
Install
agr install @akash-network/setup-env --target claudeWrites 1 file into .claude/skills/, pinned to git-e2bb0457.
- .claude/skills/setup-env/SKILL.md
Document
name: setup-env description: "Set up development environment by loading direnv. Must be run before any make targets (tests, builds, linting)."
Instructions
Before running any make target (make test, make bins, make lint-go, etc.), the direnv environment must be loaded.
Without it, make will fail with errors about AKASH_DIRENV_SET or AKASH_ROOT not being set.
Steps
-
Allow and load direnv for the project root. This sets all required variables (
AKASH_ROOT,AKASH_DIRENV_SET,GOTOOLCHAIN,GOPATH,GOWORK, cache paths) adds tool directories toPATH, and runsmake cacheto download build tools and wasmvm libraries:direnv allow -
Load environment into current shell:
eval "$(direnv export bash 2>&1 | grep -v '^direnv:')" -
Validate:
[[ "$AKASH_DIRENV_SET" == "1" ]] && echo "direnv loaded" || echo "ERROR: direnv not loaded"
Notes
- If direnv fails, check that required system tools are installed:
make,unzip,wget,curl,npm,jq,readlink,pv,lz4. - On macOS, Homebrew
make(v4+) must be on PATH:export PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH".
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-e2bb04577b612026-07-31