Agent skill

AI Agent Builder

by claude-office-skills in claude-office-skills/skills

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

MITAuto-check passedAI & LLM Engineering

Install AI Agent Builder

skills CLI
$ npx skills add claude-office-skills/skills --skill ai-agent-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install claude-office-skills/skills ai-agent-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/claude-office-skills/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-agent-builder .claude/skills/ai-agent-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-agent-builder
GitHub stars
505
Token cost
~3.1k tokens
SKILL.md length
148 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

  • Works in 4 steps: calendar_check → book_appointment → send_notification → …
  • Tasks that involve Building AI agents
  • SKILL.md covers Overview, AI Agent Architecture, Tool Calling Pattern and Memory Patterns, plus 7 more sections
  • Reaches api.weather.com

What it does

AI Agent Builder is an agent skill from claude-office-skills/skills. Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Building AI agents, Third-party API integration and Structured output and tool calling. It works with OpenAI. The repository describes itself as: A curated collection of practical Claude Skills for real-world office tasks. The licence is MIT.

When your agent uses it

  • Tasks that involve Building AI agents
  • Tasks that involve Third-party API integration
  • Tasks that involve Structured output and tool calling

Example prompts

  • “/ai-agent-builder”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. calendar_check
  2. book_appointment
  3. send_notification
  4. customer_lookup

What it can do on your machine

Read from SKILL.md and the folder at commit 9c4c7d5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.weather.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Agent Builder loads about 3.1k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 148 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from claude-office-skills/skills at commit 9c4c7d5, republished under its MIT licence (© claude-office-skills). 148 words, ~3,083 tokens.

Download SKILL.mdSave it as .claude/skills/ai-agent-builder/SKILL.md (or your agent's skills folder).
name
ai-agent-builder
description
Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns
version
1.0.0
author
claude-office-skills
license
MIT
category
ai
tags
ai-agent, chatgpt, openai, langchain, automation
department
Engineering
models.recommended
claude-opus-4, claude-sonnet-4
capabilities
agent_design, tool_integration, memory_management, multi_step_reasoning, conversation_flow
languages
en, zh
related_skills
deep-research, n8n-workflow, slack-workflows

AI Agent Builder

Design and build AI agents with tools, memory, and multi-step reasoning capabilities. Covers ChatGPT, Claude, Gemini integration patterns based on n8n's 5,000+ AI workflow templates.

Overview

This skill covers:

  • AI agent architecture design
  • Tool/function calling patterns
  • Memory and context management
  • Multi-step reasoning workflows
  • Platform integrations (Slack, Telegram, Web)

AI Agent Architecture

Core Components
┌─────────────────────────────────────────────────────────────────┐
│                      AI AGENT ARCHITECTURE                       │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  ┌─────────────┐     ┌─────────────┐     ┌─────────────┐       │
│  │   Input     │────▶│   Agent     │────▶│   Output    │       │
│  │  (Query)    │     │   (LLM)     │     │  (Response) │       │
│  └─────────────┘     └──────┬──────┘     └─────────────┘       │
│                             │                                   │
│         ┌───────────────────┼───────────────────┐              │
│         │                   │                   │              │
│         ▼                   ▼                   ▼              │
│  ┌─────────────┐     ┌─────────────┐     ┌─────────────┐       │
│  │   Tools     │     │   Memory    │     │  Knowledge  │       │
│  │ (Functions) │     │  (Context)  │     │   (RAG)     │       │
│  └─────────────┘     └─────────────┘     └─────────────┘       │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘
Agent Types
yaml
agent_types:
  reactive_agent:
    description: "Single-turn response, no memory"
    use_case: simple_qa, classification
    complexity: low
    
  conversational_agent:
    description: "Multi-turn with conversation memory"
    use_case: chatbots, support
    complexity: medium
    
  tool_using_agent:
    description: "Can call external tools/APIs"
    use_case: data_lookup, actions
    complexity: medium
    
  reasoning_agent:
    description: "Multi-step planning and execution"
    use_case: complex_tasks, research
    complexity: high
    
  multi_agent:
    description: "Multiple specialized agents collaborating"
    use_case: complex_workflows
    complexity: very_high

Tool Calling Pattern

Tool Definition
yaml
tool_definition:
  name: "get_weather"
  description: "Get current weather for a location"
  parameters:
    type: object
    properties:
      location:
        type: string
        description: "City name or coordinates"
      units:
        type: string
        enum: ["celsius", "fahrenheit"]
        default: "celsius"
    required: ["location"]
    
  implementation:
    type: api_call
    endpoint: "https://api.weather.com/v1/current"
    method: GET
    params:
      q: "{location}"
      units: "{units}"
Common Tool Categories
yaml
tool_categories:
  data_retrieval:
    - web_search: search the internet
    - database_query: query SQL/NoSQL
    - api_lookup: call external APIs
    - file_read: read documents
    
  actions:
    - send_email: send emails
    - create_calendar: schedule events
    - update_crm: modify CRM records
    - post_slack: send Slack messages
    
  computation:
    - calculator: math operations
    - code_interpreter: run Python
    - data_analysis: analyze datasets
    
  generation:
    - image_generation: create images
    - document_creation: generate docs
    - chart_creation: create visualizations
n8n Tool Integration
yaml
n8n_agent_workflow:
  nodes:
    - trigger:
        type: webhook
        path: "/ai-agent"
        
    - ai_agent:
        type: "@n8n/n8n-nodes-langchain.agent"
        model: openai_gpt4
        system_prompt: |
          You are a helpful assistant that can:
          1. Search the web for information
          2. Query our customer database
          3. Send emails on behalf of the user
          
        tools:
          - web_search
          - database_query
          - send_email
          
    - respond:
        type: respond_to_webhook
        data: "{{ $json.output }}"

Memory Patterns

Memory Types
yaml
memory_types:
  buffer_memory:
    description: "Store last N messages"
    implementation: |
      messages = []
      def add_message(role, content):
          messages.append({"role": role, "content": content})
          if len(messages) > MAX_MESSAGES:
              messages.pop(0)
    use_case: simple_chatbots
    
  summary_memory:
    description: "Summarize conversation periodically"
    implementation: |
      When messages > threshold:
          summary = llm.summarize(messages[:-5])
          messages = [summary_message] + messages[-5:]
    use_case: long_conversations
    
  vector_memory:
    description: "Store in vector DB for semantic retrieval"
    implementation: |
      # Store
      embedding = embed(message)
      vector_db.insert(embedding, message)
      
      # Retrieve
      relevant = vector_db.search(query_embedding, k=5)
    use_case: knowledge_retrieval
    
  entity_memory:
    description: "Track entities mentioned in conversation"
    implementation: |
      entities = {}
      def update_entities(message):
          extracted = llm.extract_entities(message)
          entities.update(extracted)
    use_case: personalized_assistants
Context Window Management
yaml
context_management:
  strategies:
    sliding_window:
      keep: last_n_messages
      n: 10
      
    relevance_based:
      method: embed_and_rank
      keep: top_k_relevant
      k: 5
      
    hierarchical:
      levels:
        - immediate: last_3_messages
        - recent: summary_of_last_10
        - long_term: key_facts_from_all
        
  token_budget:
    total: 8000
    system_prompt: 1000
    tools: 1000
    memory: 4000
    current_query: 1000
    response: 1000

Multi-Step Reasoning

ReAct Pattern
Thought: I need to find information about X
Action: web_search("X")
Observation: [search results]
Thought: Based on the results, I should also check Y
Action: database_query("SELECT * FROM Y")
Observation: [database results]
Thought: Now I have enough information to answer
Action: respond("Final answer based on X and Y")
Planning Agent
yaml
planning_workflow:
  step_1_plan:
    prompt: |
      Task: {user_request}
      
      Create a step-by-step plan to complete this task.
      Each step should be specific and actionable.
      
    output: numbered_steps
    
  step_2_execute:
    for_each: step
    actions:
      - execute_step
      - validate_result
      - adjust_if_needed
      
  step_3_synthesize:
    prompt: |
      Steps completed: {executed_steps}
      Results: {results}
      
      Synthesize a final response for the user.

Platform Integrations

Slack Bot Agent
yaml
slack_agent:
  trigger: slack_message
  
  workflow:
    1. receive_message:
        extract: [user, channel, text, thread_ts]
        
    2. get_context:
        if: thread_ts
        action: fetch_thread_history
        
    3. process_with_agent:
        model: gpt-4
        system: "You are a helpful Slack assistant"
        tools: [web_search, jira_lookup, calendar_check]
        
    4. respond:
        action: post_to_slack
        channel: "{channel}"
        thread_ts: "{thread_ts}"
        text: "{agent_response}"
Telegram Bot Agent
yaml
telegram_agent:
  trigger: telegram_message
  
  handlers:
    text_message:
      - extract_text
      - process_with_ai
      - send_response
      
    voice_message:
      - transcribe_with_whisper
      - process_with_ai
      - send_text_or_voice_response
      
    image:
      - analyze_with_vision
      - process_with_ai
      - send_response
      
    document:
      - extract_content
      - process_with_ai
      - send_response
Web Chat Interface
yaml
web_chat_agent:
  frontend:
    type: react_component
    features:
      - message_input
      - message_history
      - typing_indicator
      - file_upload
      
  backend:
    endpoint: "/api/chat"
    method: POST
    streaming: true
    
  session_management:
    method: jwt_token
    storage: redis
    ttl: 24_hours

Agent Templates

Customer Support Agent
yaml
support_agent:
  name: "Customer Support AI"
  model: gpt-4
  
  system_prompt: |
    You are a customer support agent for {company}.
    
    Guidelines:
    - Be helpful, professional, and empathetic
    - Use the knowledge base to answer questions
    - Escalate to human if you cannot help
    - Never make up information
    
    Available actions:
    - Search knowledge base
    - Look up customer account
    - Create support ticket
    - Escalate to human agent
    
  tools:
    - knowledge_search:
        description: "Search help articles"
    - customer_lookup:
        description: "Get customer account info"
    - create_ticket:
        description: "Create support ticket"
    - escalate:
        description: "Transfer to human agent"
        
  escalation_triggers:
    - sentiment: very_negative
    - keywords: ["speak to human", "manager", "complaint"]
    - failed_resolution: after_3_attempts
Research Agent
yaml
research_agent:
  name: "Research Assistant"
  model: claude-opus
  
  system_prompt: |
    You are a research assistant that helps users find 
    and synthesize information on any topic.
    
    Process:
    1. Understand the research question
    2. Plan search strategy
    3. Execute searches across multiple sources
    4. Synthesize findings
    5. Present with citations
    
  tools:
    - web_search
    - academic_search
    - news_search
    - wikipedia_lookup
    
  output_format:
    - executive_summary
    - key_findings
    - detailed_analysis
    - sources_cited

Output Example

Request: "Design an AI agent for appointment scheduling"

Output:

markdown
# Appointment Scheduling Agent Design

## Architecture

```yaml
agent:
  name: "Scheduling Assistant"
  model: gpt-4
  
  capabilities:
    - Check calendar availability
    - Book appointments
    - Send confirmations
    - Handle rescheduling
    - Answer FAQs

Tools Required

  1. calendar_check

    • Input: date_range, duration
    • Output: available_slots[]
  2. book_appointment

    • Input: datetime, customer_info, service_type
    • Output: confirmation_id
  3. send_notification

    • Input: type, recipient, details
    • Output: success/failure
  4. customer_lookup

    • Input: email or phone
    • Output: customer_record

Conversation Flow

User: "I'd like to book an appointment"
Agent: [Thought: Need to know service type and preferred time]
Agent: "I'd be happy to help! What service are you looking for, 
        and do you have a preferred date/time?"

User: "Haircut, next Tuesday afternoon"
Agent: [Action: calendar_check(date="next Tuesday", time="afternoon")]
Agent: "I have availability at 2pm, 3pm, and 4:30pm next Tuesday. 
        Which works best for you?"

User: "3pm please"
Agent: [Action: book_appointment(datetime="Tuesday 3pm", service="haircut")]
Agent: [Action: send_notification(type="confirmation", ...)]
Agent: "You're all set for a haircut at 3pm next Tuesday. 
        I've sent a confirmation to your email. See you then!"

n8n Implementation

yaml
workflow:
  - webhook_trigger: /schedule-chat
  - ai_agent:
      tools: [calendar, booking, notification]
  - respond_to_user

---

*AI Agent Builder Skill - Part of Claude Office Skills*

© claude-office-skills, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in ai-agent-builder of claude-office-skills/skills.

Open the folder on GitHubat commit 9c4c7d5

Compare with similar skills

AI Agent Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Agent Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Agent Builder this skillclaude-office-skills/skills505—~3.1kAutomated safety check: PassMIT
Routerbase API Integrationaiskillstore/marketplace433—~964Automated safety check: PassNone
AI SDKvercel-labs/ai-facts16820 repos~1.2kAutomated safety check: PassNone
Tool Designagentailor/fullstack-langgraph-nextjs-agent132—~3.2kAutomated safety check: PassMIT
LangchainOrchestra-Research/AI-Research-SKILLs13k2 repos~3.2kAutomated safety check: PassMIT
Langchainlangchain-ai/docs426—~1.1kAutomated safety check: PassMIT

Similar skills

  • Routerbase API Integration

    aiskillstore/marketplace

    Integrate applications with RouterBase, the OpenAI-compatible model gateway at https://routerbase.com/v1.

    433 GitHub stars~964 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • AI SDK

    vercel-labs/ai-facts

    Official

    Answer questions about the AI SDK and help build AI-powered features.

    168 GitHub starsUsed in 20 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Tool Design

    agentailor/fullstack-langgraph-nextjs-agent

    Design and verify tools that AI agents can actually use — for any framework or language (MCP servers, LangChain/LangGraph, function-calling, raw JSON schema; TypeScript, Python, or otherwise).

    132 GitHub stars~3.2k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Langchain

    Orchestra-Research/AI-Research-SKILLs

    Framework for building LLM-powered applications with agents, chains, and RAG.

    13k GitHub starsUsed in 2 repos~3.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Langchain

    langchain-ai/docs

    Official

    Build agents with a prebuilt architecture and integrations for any model or tool.

    426 GitHub stars~1.1k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Sap Cloud SDK AI

    secondsky/sap-skills

    Integrates SAP Cloud SDK for AI into JavaScript/TypeScript and Java applications.

    462 GitHub stars~3.2k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed

More from claude-office-skills/skills

All 12 skills in this repo
  • Airtable Automation

    claude-office-skills/skills

    Airtable database automation - views, automations, integrations, and workflow triggers

    505 GitHub stars~2.7k tokensUpdated 8 mo ago
    Auto-check passed
  • Academic Search

    claude-office-skills/skills

    Search and analyze academic literature. An agent skill from claude-office-skills/skills.

    505 GitHub stars~2.2k tokensUpdated 8 mo ago
    Auto-check passed
  • Ads Copywriter

    claude-office-skills/skills

    Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

    505 GitHub stars~2.1k tokensUpdated 8 mo ago
    Auto-check passed
  • AI Slides

    claude-office-skills/skills

    Generate complete presentations with AI - from outline to polished slides

    505 GitHub stars~1.4k tokensUpdated 8 mo ago
    Auto-check passed
  • Batch Convert

    claude-office-skills/skills

    Batch convert documents between multiple formats using a unified pipeline

    505 GitHub stars~3.8k tokensUpdated 8 mo ago
    Auto-check passed
  • Batch Processor

    claude-office-skills/skills

    Process multiple documents in bulk with parallel execution. An agent skill from claude-office-skills/skills.

    505 GitHub stars~1.1k tokensUpdated 8 mo ago
    Auto-check passed

Works with

Questions about AI Agent Builder

What does AI Agent Builder do?

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns. AI Agent Builder is an agent skill from claude-office-skills/skills.

When should I use AI Agent Builder?

AI Agent Builder fits situations like: tasks that involve Building AI agents; tasks that involve Third-party API integration; tasks that involve Structured output and tool calling.

How do I install AI Agent Builder in Claude Code?

Run `npx skills add claude-office-skills/skills --skill ai-agent-builder -a claude-code`. Or copy the skill folder (ai-agent-builder in claude-office-skills/skills) into .claude/skills/ai-agent-builder in your project. Claude Code loads it when a task matches its description.

How do I install AI Agent Builder in Codex?

Run `npx skills add claude-office-skills/skills --skill ai-agent-builder -a codex`. Or copy the skill folder (ai-agent-builder in claude-office-skills/skills) into .agents/skills/ai-agent-builder in your project. Codex loads it when a task matches its description.

Can I use AI Agent Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add claude-office-skills/skills --skill ai-agent-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-agent-builder, .gemini/skills/ai-agent-builder, .github/skills/ai-agent-builder and .opencode/skills/ai-agent-builder in your project.

What does AI Agent Builder need to run?

SKILL.md names no scripts, command-line tools or credentials: AI Agent Builder is instructions for the agent only. Our summary lists: Python 3.

Does AI Agent Builder access the network?

SKILL.md names 1 domain. In commands or code: api.weather.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is AI Agent Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does AI Agent Builder use?

AI Agent Builder is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AI Agent Builder use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AI Agent Builder?

Skills that share tags, products or a category with AI Agent Builder: Routerbase API Integration (aiskillstore/marketplace, 433 stars), AI SDK (vercel-labs/ai-facts, 168 stars), Tool Design (agentailor/fullstack-langgraph-nextjs-agent, 132 stars) and Langchain (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Agent Builder?

claude-office-skills (a GitHub organization) maintains it in claude-office-skills/skills, which has 505 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on January 31, 2026.

Source: claude-office-skills/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.