Logo de Terminal

Terminal

Comunidade
jstanden
terminal

O terminal do agente — seus comandos, caminhos absolutos, como `search` realmente faz as correspondências, o pipeline Twig `|` e /tmp como ambiente de computação. Carregue esta habilidade antes de fazer sua primeira pesquisa e não encontrar resultados.

Add to TypingMind

Visão geral

Publicado porjstanden
Repositóriocerb
Nome da habilidadeterminal
Estrelas
83
Forks
38
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por jstanden no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Terminal no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/jstanden/cerb/tree/12.0.x/features/cerberusweb.core/assets/agent_filesystems/cerb-agents/skills/terminal
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jstanden/cerb.git /tmp/cerb
mkdir -p .claude/skills
cp -r /tmp/cerb/features/cerberusweb.core/assets/agent_filesystems/cerb-agents/skills/terminal .claude/skills/terminal
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Terminal em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Terminal automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Terminal não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

The agent terminal

Your terminal tool runs ONE command line per call -- verb, arguments, and flags together, exactly as you would type them at a prompt. Everything below is a COMMAND, not a tool of its own: there is no separate search tool, only search ... typed into the terminal.

It is NOT a Unix shell. It has only the documented commands -- ls, find, search, read, write, append, edit, copy, rm -- plus a trailing | pipeline. A few Unix names work as aliases -- cat (read), grep (search), dir (ls), cp (copy) -- and everything else errors, echo and awk included.

search needs a fulltext index, which only a mounted volume has. With nothing but /tmp you do not have it -- filter /tmp with a pipeline instead.

Paths

Write every path in full. cd exists, but assume it does not stick: your terminal call starts at / every time, so a cd is gone by your next call. Use an absolute path (/cerb-docs/references/docs/kata.md) or the @<filesystem>/path shorthand (@cerb-docs/references/docs/kata.md). A mount is read-only unless its overview says otherwise; /tmp is always read-write.

Searching the mounted filesystems

The search command matches file CONTENTS with AND, not OR -- every word in the query must appear in the same file. Piling on keywords narrows to zero hits fast, and zero hits is NOT evidence the topic is undocumented.

  • Start with the one or two most distinctive terms, then narrow with --path or --ext instead of adding more words.
  • --terms is the OR view, and it is how you find the right word. It counts how many files contain EACH word, ranked, instead of searching for all of them: search --terms school college academic university tuition. One call, any number of synonyms, no reading. Take the highest count, require it with +, and throw the next set of words at it: search --terms +college tuition fees pricing. Repeat until the word list is good, THEN run the real search.
  • A wildcard or stem term lists the words it covers, inline on one indented line beneath it: auto* reports automations (476) automation (374) automatically (228) .... That is how you learn the vocabulary this corpus actually uses instead of guessing at it; a trailing ... means the list was capped.
  • A + term is echoed as a heading above the counts; every count below it is within the files that contain it, so numbers collapse fast. That collapse is the signal -- keep the words that survive it.
  • A miss falls back to this view automatically, and keeps any + you already had, so a failed AND search still tells you which words exist alongside it.
  • A - instead of a count means the index skips that word as too common (the, not, can, com, www, ...) -- it was never searched for, which is not the same as finding nothing.
  • Run separate searches for alternatives; there is no OR.
  • A search returns the 25 most relevant files, not every match. --top <n> raises or lowers that cap and --top 0 returns every match unranked, so a full list is one flag away. Don't report a capped list as the whole answer.
  • Use find to match names and search to match contents. Add --lines only after you've picked a file worth reading in context.
  • find also carries every Markdown file's frontmatter, so you can select on metadata without opening anything. Each row has its keys under meta, and --fields title,description prints chosen ones as columns: find *.md --fields name | files|filter(f => f.meta.name starts with "cerb"). Listing never opens a file, so this costs nothing.
  • Prefer search/find to locate a file, then read only the part you need (--offset/--limit).

/tmp -- a compute surface, not an overflow buffer

/tmp is a read-write scratch area. Reach for it whenever you'd otherwise scan a long piece of text by hand, or need to hold intermediate work across steps.

  • Write an arbitrary string to a file (write /tmp/scratch.txt), then read it back through a trailing Twig filter chain to count, filter, reshape, or diff it -- for example staging alternate drafts, or reducing a large document to just the lines that matter, before committing a final version anywhere.
  • It is per-session, and it is NOT indexed by search. Filter it with a pipeline rather than searching it.
  • A command whose output is too large to return is saved there and referenced by path.

The | pipeline

Pipe ANY command through Twig filters with a trailing | (lines, filter, map, length, column, ...). The pipeline runs on the FULL output before any truncation, so it is how you reduce a big result to just what you need instead of paying for the whole thing in context.

read /tmp/scratch.txt | lines|filter(l => "field" in l)
search widgets | results|map(r => r.meta.title ?? r.path)
ls /docs | files|filter(f => not f.is_dir)|column("name")

lines preserves original line indices as keys. Each command sets its own row variable -- lines, results, files above -- and that is what makes a pipe iterate ROWS rather than text. For a longer transform than fits on one line, put a Twig template in script instead of a trailing |.

This is Cerb scripting, not a pipeline language of its own -- the same Twig, the same filters, functions and operators you would write anywhere else in Cerb. Read @cerb-agents/skills/scripting/SKILL.md for what is available rather than guessing at a filter name here.

cerb -- the command line into this installation

Some agents also have cerb, a command line into THIS Cerb install rather than into files. It reports what this installation actually has, custom record types and fieldsets included, which the documentation cannot. Run cerb help to see what it answers, and cerb <topic> help for one topic's usage. Its rows pipe like any other command's.

Perguntas frequentes

O que a habilidade de IA Terminal faz?

O terminal do agente — seus comandos, caminhos absolutos, como `search` realmente faz as correspondências, o pipeline Twig `|` e /tmp como ambiente de computação. Carregue esta habilidade antes de fazer sua primeira pesquisa e não encontrar resultados.

Por que usar Terminal no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Terminal é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Terminal no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/jstanden/cerb/tree/12.0.x/features/cerberusweb.core/assets/agent_filesystems/cerb-agents/skills/terminal. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Terminal?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Terminal?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Terminal com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Terminal é gratuita?

A habilidade é publicada no GitHub por jstanden. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇