Goals
codewhale-hq/Codewhale
Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.
Synthesize the current conversation into a single, self-contained /goal prompt that Claude Code can run to continue the agreed-upon work autonomously — so the user never has to hand-summarize a long…
$ npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install michaleiatrak-star/Lex-Machina generate-goal --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/michaleiatrak-star/Lex-Machina.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/generate-goal .claude/skills/generate-goal && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "generate-goal" agent skill from https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goal into .claude/skills/generate-goal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-goal", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install michaleiatrak-star/Lex-Machina generate-goal --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaleiatrak-star/Lex-Machina.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/generate-goal .agents/skills/generate-goal && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "generate-goal" agent skill from https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goal into .agents/skills/generate-goal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-goal", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install michaleiatrak-star/Lex-Machina generate-goal --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaleiatrak-star/Lex-Machina.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/generate-goal .cursor/skills/generate-goal && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "generate-goal" agent skill from https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goal into .cursor/skills/generate-goal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-goal", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/michaleiatrak-star/Lex-Machina.git --path .claude/skills/generate-goal--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install michaleiatrak-star/Lex-Machina generate-goal --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaleiatrak-star/Lex-Machina.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/generate-goal .gemini/skills/generate-goal && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "generate-goal" agent skill from https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goal into .gemini/skills/generate-goal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-goal", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install michaleiatrak-star/Lex-Machina generate-goalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/michaleiatrak-star/Lex-Machina.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/generate-goal .github/skills/generate-goal && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "generate-goal" agent skill from https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goal into .github/skills/generate-goal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-goal", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install michaleiatrak-star/Lex-Machina generate-goal --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaleiatrak-star/Lex-Machina.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/generate-goal .opencode/skills/generate-goal && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "generate-goal" agent skill from https://github.com/michaleiatrak-star/Lex-Machina/tree/main/.claude/skills/generate-goal into .opencode/skills/generate-goal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-goal", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
generate-goalSynthesize the current conversation into a single, self-contained /goal prompt that Claude Code can run to continue the agreed-upon work autonomously — so the user never has to hand-summarize a long…
Generate Goal is an agent skill from michaleiatrak-star/Lex-Machina. Synthesize the current conversation into a single, self-contained /goal prompt that Claude Code can run to continue the agreed-upon work autonomously — so the user never has to hand-summarize a long discussion into a goal directive. Use when the user and Claude have converged on what to do next and the user wants to hand it off to the /goal command. Triggers include "generate a goal", "make/write a goal prompt", "turn this into a /goal", "hand this off to /goal", "goalify this", or "/generate-goal". Outputs the…
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Analityka polskiego prawa, przygotowanie pism procesowych, weryfikacja przepisów prawa polskiego i orzecznictwa z oficjalnych źródeł z zakazem cytowania z pamięci, przygotowanie… The licence is GPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d31ca57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
makeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Generate Goal loads about 1.2k tokens when it runs. Until then it costs about 146 tokens; SKILL.md has 505 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from michaleiatrak-star/Lex-Machina at commit d31ca57, republished under its GPL-3.0 licence (© michaleiatrak-star). 505 words, ~1,205 tokens.
.claude/skills/generate-goal/SKILL.md (or your agent's skills folder).Turn the accumulated understanding in the current conversation into one ready-to-run /goal prompt. The user has been discussing what to work on next and wants that context distilled into a directive they can paste into /goal (or that Claude can run) without summarizing it themselves.
.goal file, no scratch file — nothing on disk./goal run is a fresh autonomous agent that does not share this conversation's memory. Bake in every load-bearing fact it needs (paths, commands, knob names, current state, decisions). Assume it starts cold./goal runs turn after turn until a small evaluator model confirms the condition holds. The evaluator reads the transcript; it does not run commands. So the condition must be provable from what the agent surfaces (files exist and are committed, a test result is reported, a stated number/verdict appears)./goal), in this order:Stop after N turns and report status if not done.Weak (unverifiable / open-ended): improve the backtest realism, make the tests better.
Strong (one end state + stated check + guardrail):
COMPLETION: bin/backtest builds, make test reports 4/4 byte-identical pins, and docs/state/BACKTEST_REALISM.md has a new changelog row with the OFF-vs-ON per-market PnL. No change to canonical defaults. Stop after 30 turns and report status if not done.Match the turn cap to the scope (a focused change ~15–25; a multi-part build ~40+). The cap is a safety valve so a stuck run halts and reports instead of looping.
Conversation converged on: add a default-off env knob, prove it is pins-neutral, and measure it.
Generated output:
/goal You are an autonomous agent continuing prior work in this repo. Read CLAUDE.md first. TASK: add env flag FILL_MODEL_TAKER_PERLEVEL_FEE (default 0) in src/trading/execution/exchange_sim.c so that, when ON, the taker fee is summed per consumed book level instead of computed once on the VWAP; keep taker_matcher.c pure. CONSTRAINTS: default OFF must be byte-identical — `make test` green and check_bt_pins = OK 4 byte-identical with the flag OFF; if pins break the flag is leaking, STOP and fix. VALIDATION: add tests/test_taker_realism.c::test_perlevel_fee_vs_vwap_fee proving the per-level sum equals the sum of fees_v2_taker(shares_i, px_i). COMPLETION: flag implemented default-OFF, make test green, pins 4/4 byte-identical, the new unit test present and passing per the reported test output, changes committed. Stop after 30 turns and report status if not done.Then offer: adjust the turn cap, tighten the completion check, or add/remove constraints.
© michaleiatrak-star, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/generate-goal of michaleiatrak-star/Lex-Machina.
Open the folder on GitHubat commit d31ca57
Generate Goal next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Generate Goal this skillmichaleiatrak-star/Lex-Machina | 263 | — | ~1.2k | Automated safety check: Pass | GPL-3.0 | |
| Goalscodewhale-hq/Codewhale | 41k | — | ~273 | Automated safety check: Pass | MIT | |
| Modeling Conversion MetricsPostHog/posthog | 40k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Apple Containersickn33/agentic-awesome-skills | 47k | 1 repos | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Container Security Hardeningsickn33/agentic-awesome-skills | 47k | 1 repos | ~1k | Automated safety check: Notes | MIT | |
| Agent Goal Plannerruvnet/ruflo | 74k | 2 repos | ~842 | Automated safety check: Pass | MIT |
codewhale-hq/Codewhale
Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.
PostHog/posthog
Build reusable conversion models — funnel/step conversion rates, drop-off, and time-to-convert — on either PostHog data-warehouse views (HogQL) or an external dbt project.
sickn33/agentic-awesome-skills
Build, run, and manage OCI/Linux containers as lightweight per-container VMs on Apple-silicon macOS using Apple's open-source container CLI, no Docker daemon required.
sickn33/agentic-awesome-skills
Harden Docker/container images and runtime deployments with secure base images, non-root users, CVE scanning, SBOM/signing, seccomp/AppArmor, and Kubernetes pod security controls.
ruvnet/ruflo
Agent skill for goal-planner - invoke with $agent-goal-planner
ruvnet/ruflo
Synthesize research findings from memory into structured reports with evidence grading, contradiction resolution, and actionable recommendations
michaleiatrak-star/Lex-Machina
Delegate tasks to Gemini CLI as an agent. An agent skill from michaleiatrak-star/Lex-Machina.
michaleiatrak-star/Lex-Machina
Safely prune stale git worktrees and local branches left over from past sessions, deleting only those with no unique work so no commit is ever lost.
michaleiatrak-star/Lex-Machina
Analiza, redakcja, negocjacje i generowanie umów oraz dokumentów korporacyjnych, HR i RODO: ryzyka klauzul, B2B/B2C, praca, najem, IT/SaaS, IP, founders, finansowanie i PZP.
michaleiatrak-star/Lex-Machina
Audyt jakości, spójności i bezpieczeństwa systemu prawnych skilli: zależności, wersje, mapy Dz.U., treść merytoryczna, propagacja zmian, deduplikacja i bramki jakości.
michaleiatrak-star/Lex-Machina
Prawo cywilne, rodzinne i gospodarcze: KC, KPC, spadki, rodzina, spółki, upadłość, restrukturyzacja, windykacja i odpowiedzialność kontraktowa/deliktowa.
michaleiatrak-star/Lex-Machina
Prawo konstytucyjne i ustrojowe: Konstytucja, organy państwa, TK, źródła prawa, legislacja i skarga konstytucyjna; analiza z aktualną weryfikacją źródeł.
Synthesize the current conversation into a single, self-contained /goal prompt that Claude Code can run to continue the agreed-upon work autonomously — so the user never has to hand-summarize a long…. Generate Goal is an agent skill from michaleiatrak-star/Lex-Machina. Synthesize the current conversation into a single, self-contained /goal prompt that Claude Code can run to continue the agreed-upon work autonomously — so the user never has to hand-summarize a long discussion into a goal directive.
Generate Goal fits situations like: the user and Claude have converged on what to do next and the user wants to hand it off to the /goal command; include generate a goal; make/write a goal prompt; turn this into a /goal.
Run `npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a claude-code`. Or copy the skill folder (.claude/skills/generate-goal in michaleiatrak-star/Lex-Machina) into .claude/skills/generate-goal in your project. Claude Code loads it when a task matches its description.
Run `npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a codex`. Or copy the skill folder (.claude/skills/generate-goal in michaleiatrak-star/Lex-Machina) into .agents/skills/generate-goal in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add michaleiatrak-star/Lex-Machina --skill generate-goal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-goal, .gemini/skills/generate-goal, .github/skills/generate-goal and .opencode/skills/generate-goal in your project.
Going by SKILL.md and its folder, Generate Goal needs the command-line tools its instructions call (make).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Generate Goal is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Generate Goal: Goals (codewhale-hq/Codewhale, 41k stars), Modeling Conversion Metrics (PostHog/posthog, 40k stars), Apple Container (sickn33/agentic-awesome-skills, 47k stars) and Container Security Hardening (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
michaleiatrak-star (a GitHub user) maintains it in michaleiatrak-star/Lex-Machina, which has 263 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 9, 2026.
Source: michaleiatrak-star/Lex-Machina on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.