Creating Julia App
Agent Buildingcreating-julia-appCreating Julia App is an Agent Skill for agent building published in the hashgraph-online/awesome-codex-plugins repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when you create a CLI written in Julia packages or MCP servers
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/hashgraph-online/awesome-codex-plugins/blob/HEAD/plugins/AtelierArith/atelier-arith-julia-development-skills/skills/creating-julia-app/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/creating-julia-app, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Creating a Julia app
Apps are Julia packages that are intended to be run as "standalone programs" (by e.g. typing the name of the app in the terminal possibly together with some arguments or flags/options). This is in contrast to most Julia packages that are used as "libraries" and are loaded by other files or in the Julia REPL.
A Julia app is structured similar to a standard Julia library with the following additions:
A @main entry point in the package module (see the Julia help on @main for details)
An [apps] section in the Project.toml file listing the executable names that the package provides.
A very simple example of an app that prints the reversed input arguments would be:
# src/MyReverseApp.jl
module MyReverseApp
function (@main)(ARGS)
for arg in ARGS
print(stdout, reverse(arg), " ")
end
return
end
end # module
# Project.toml
# standard fields here
[apps]
reverse = {}
The empty table {} is to allow for giving metadata about the app.
After installing this app one could run:
$ ~/.julia/bin/reverse some input string
emos tupni gnirts
directly in the terminal. See the following link to learn more: