Your team of AI agents, on your Mac, Windows or Linux. Agents that talk in channels, write code, review each other and use your tools, on the Claude Code, Codex, OpenCode or Pi you already have. Anything that touches the real world waits for your yes.
TypeScript agent-teamagentic-aiai-agentsai-assistantclaude-codecodexcursorelectrongrokgrok-bot-alternativelinuxlocal-firstmacosmcpmulti-agentopenclaw-alternativeopencodewindows
import { L, locale } from './lang'
export const RECOMMENDED_SKILL_BODY_LENGTH = 10_000
// Past the recommendation a recipe is kept whole; this is only the ceiling for one that isn't a
// recipe at all (a file pasted by mistake, an agent writing on and on), far above any real one.
export const MAX_SKILL_BODY_LENGTH = 1_000_000
export const tooLongSkill = (): string =>
L(`A receita passou de ${MAX_SKILL_BODY_LENGTH.toLocaleString(locale())} caracteres.`, `The recipe is over ${MAX_SKILL_BODY_LENGTH.toLocaleString(locale())} characters.`)
export function skillLengthNote(length: number): string {
const excess = length - RECOMMENDED_SKILL_BODY_LENGTH
return excess > 0
? L(
`Receita longa: ${length.toLocaleString(locale())} caracteres, ${excess.toLocaleString(locale())} acima do recomendado de ${RECOMMENDED_SKILL_BODY_LENGTH.toLocaleString(locale())}. Recomendamos encurtar; a receita inteira será mantida.`,
`Long recipe: ${length.toLocaleString(locale())} characters, ${excess.toLocaleString(locale())} over the ${RECOMMENDED_SKILL_BODY_LENGTH.toLocaleString(locale())}-character recommendation. Consider shortening it; the full recipe will be kept.`
)
: ''
}
export const overlongSkillNote = (name: string, length: number): string => {
const note = skillLengthNote(length)
return note ? `${name} · ${note}` : ''
}