logoalt Hacker News

stanmancantoday at 5:34 AM4 repliesview on HN

Isn’t that what the agents.md in your project is for?


Replies

jbeningertoday at 11:05 AM

It's possible I invented skills before they were common. I've always had some instructions in agents.md that are something like "when working with typescript, read prompts/conventions.ts.md, when working with our fooBar module, read prompts/foobar.md"

I'm not sure if this differs greatly from skills. Maybe my wording makes these "skills" less likely to be read at the correct times, but I haven't seen an issue.

paooltoday at 5:50 AM

I try to keep agents/Claude.md as tiny as possible. With high level "truths" that don't change. Stack used, invariants, file structure, and some scripts.

Skills are more for things you do often. I run mutation tests, type check,linting,etc. I _could_ just prompt and copy/paste the same prompt each time I need to, or I can just run /tests.

I also have skills for specialized tasks I need every once in a while, like a ux skill, a text skill optimized for xyz, etc.

jpalomakitoday at 6:06 AM

Depends on how much information and details you have. The agents.md always goes into context. Detailed testing or process information might be excessive, when agent is working on UI. Skills are pulled when needed.

show 1 reply
jvetoday at 7:39 AM

Skills are evaluated by short description whether to read them into context.

Skills itself may be lengthy so...