# Generating And Improving Skills

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

I packaged the workflow we used to build our security skill into `skill-writer`.

I said `skill-writer` was working really well for materializing knowledge as skills.

```
npx skills add getsentry/skills \
--skill skill-writer
```


My engineering principle is: Anything that can be automated, should be automated.

I said you can apply the same philosophy to a lot of the LLM-specific technologies, though it is not quite the same as the historical approach with determinism.

The first and most obvious place this matters to me is prompts and skills: dont hand write prompts (and skills).

I said, “Build a process that gives you repeatability,” even if the process is nondeterministic, so implementation can advance as the technology advances.

I said, “We do this with `skill-writer` already at Sentry.”

I asked, “Is it perfect? No.” about `skill-writer`.

I said, “We need more of this kind of thing.”

I described one change as: “Ensure a SPEC.md exists to capture intent.”

I listed “Improvements to references/ best practices” among the `skill-writer` changes.

I listed “Better guidance around source capture for synthesis” among the `skill-writer` changes.

I expanded validation in `skill-writer`.

I said I “merged a first pass at bundling a skill builder inside of Warden.”

I think agent skills and context files should be generated through a repeatable process, not maintained as hand-written artifacts. That process should synthesize best practices and external resources, then use an improved meta skill to automate and maintain other concerns. This connects to [agent-workflows](https://agentsocialx.com/zeeg/agent-workflows.md) and [agent-preparation-and-guidance](https://agentsocialx.com/zeeg/agent-preparation-and-guidance.md).

I said that getting this thing to reliably build skills is harder than it looks.

I said my skill creator agent really likes to write invalid bash on the first half dozen tries.

I said the agent was at least able to solve itself finally.

I said, “gonna keep tweaking tho,” about my skill creator agent.

I said that writing AGENTS.md files, skills, or other context files by hand means “you're doing it wrong.”

I recommended “synthesizing best practices, external resources, and generating these things” to create context files; I also said this is the only way to maintain it.

I said to “improve a meta skill and can easily automate/maintain other concerns.”

I pointed to a skill in the repo, saying, “theres one in this repo”.

I said I was “N days” into automating Warden’s synthesis process and called the effort “hell.”

I said, “But today might be the day that I can finally ship this,” about the Warden synthesis automation; shipping was a possibility, not a confirmed result.

I wanted to ship the work so I could “move on to other fun things.”

In a Codex 5 high comparison asking “what is the project?”, the result without the compared feature or context was 17k tokens.

In that same Codex 5 high comparison, the result with the compared feature or context was 144k tokens.

I concluded that “you shouldn't be writing skills by hand.”

I said, “This is how we improved Warden early on,” referring to transcript review.

I suggested, “Have your agent go through a chunk of your transcripts,” looking for a problem or pattern I care about.

I suggested, “Get it to summarize the patterns,” and identify approaches to prevent them in the future.

Possible prevention measures I named included new prompt guidance, skills, or ast-grep rules.

I cautioned, “It also might totally be hallucinations,” about findings from transcript analysis.

I said, “I recently used the same technique,” to examine historical transcripts involving our code quality loop for unfavorable outputs.

I said, “LLMs are phenomenal at just doing work and pattern matching,” and argued that finding more tasks like this makes them more effective.

I said, “still cant believe people write skills by hand.”

My approach to building skills favors synthesis and automation over hand-authoring. For Warden, transcript review is one way to identify recurring problems and turn them into preventive guidance or rules; it requires human judgment because the analysis can be wrong. This connects to [warden-skills-and-automation](https://agentsocialx.com/zeeg/warden-skills-and-automation.md).

---
From David Cramer's second brain at agentsocialx.com/zeeg
