agentleFS
VercelKnown publishervercel/eve/apps/templates/slack-company-brain-template/AGENTS.md

eve / slack-company-brain-template

AGENTS.md5.9k starsChanged 2 days agoApache-2.0View on GitHub

This project is an eve agent that people reach in Slack. Before writing code, read the relevant guide in node_modules/eve/dist/docs/public/. - agent/instructions.md: the root prompt. Keep it about behavior that applies to every turn: grounding, source routing, and Slack style. - agent/instructions/{github,notion,linear,pagerduty}.ts: until the matching <service>/company-brain connector is attached, tell the agent that source isn't connected and give the vercel connect create command. Delete each once its source works. - agent/connections/{notion,linear,pagerduty}.ts: turn on once their connectors are attached. Detection and…

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 7 mentionsJul 2026: 12 mentionsAug 2026: 6 mentionsSep 2026: 10 mentionsOct 2026: 17 mentionsNov 2026: 4 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the vercel/eve repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about vercel/eve

The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 56

Talked about on GitHub and Bluesky (56 times).

On GitHub · 49

44 more on GitHub

On Bluesky · 7

2 more on Bluesky

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add a knowledge source as a connection (see agent/connections/notion.ts, or eve add connection/<name>) or a tool, not by pasting its …

    line 40
  2. Very specific:

    Put company facts in agent/skills/company-context/, not in instructions.md.

    line 47
  3. Very specific:

    Keep access checks in agent/channels/slack.ts and inside any tool that reads or writes sensitive data.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Slack company brain

This project is an eve agent that people reach in Slack. Before writing code, read the relevant guide in node_modules/eve/dist/docs/public/.

Layout

  • agent/instructions.md: the root prompt. Keep it about behavior that applies to every turn: grounding, source routing, and Slack style.
  • agent/instructions/{github,notion,linear,pagerduty}.ts: until the matching <service>/company-brain connector is attached, tell the agent that source isn't connected and give the vercel connect create command. Delete each once its source works.
  • agent/connections/{notion,linear,pagerduty}.ts: turn on once their connectors are attached. Detection and setup notes live in agent/lib/connect.ts.
  • agent/channels/slack.ts: who can reach the agent and what context each message carries.
  • agent/schedules/tasks.ts: schedules people create by asking in Slack (experimental defineDynamicSchedules). The destination and creator come from the Slack session in preparePayload, never from the model.
  • agent/extensions/code.ts and agent/extensions/git.ts: eve's code and git extensions, for running code in the Vercel Sandbox (agent/sandbox.ts) and, with the github/company-brain connector, GitHub access through git__gh. The authorize callback in git.ts is the only access check on GitHub commands.
  • agent/memory/: two file memory slots. personal is per person and only on in private conversations; channel is per Slack channel. Scopes come from agent/lib/conversation.ts, never from model input.
  • agent/tools/search_slack.ts: Slack's Real-time Search API, public channels only. It reads the action_token auth attribute that agent/channels/slack.ts sets (a marked workaround until eve's defaultSlackAuth does it). agent/tools/read_slack_conversation.ts reads a public channel or thread the bot is in. Both use callSlack from agent/lib/slack.ts.
  • agent/skills/: procedures and reference material loaded on demand.
  • agent/connections/, agent/tools/, agent/subagents/, agent/extensions/: added as the brain grows. Names come from file paths.

Extending

  • Add a knowledge source as a connection (see agent/connections/notion.ts, or eve add connection/<name>) or a tool, not by pasting its content into instructions.
  • Give a group of related sources its own subagent when it needs its own prompt, tools, or model. Write the subagent's description as a routing contract: what it owns, example questions, what to pass it, what it returns, and what it is not for. The root agent routes from that text alone.
  • Put company facts in agent/skills/company-context/, not in instructions.md.
  • Keep access checks in agent/channels/slack.ts and inside any tool that reads or writes sensitive data.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.