ai-agent
Build AI agents with OpenAI API, chat interfaces (CLI/Web/API), A2A registry, MCP registry, and inter-agent communication.
Skill by x1chg956
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/x1chg956-ai-agent
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ai-agent
What's inside
- Skill name
ai-agent- Description
- Build AI agents with OpenAI API, chat interfaces (CLI/Web/API), A2A registry, MCP registry, and inter-agent communication. Use when creating conversational agents, multi-agent systems, agent registries, or when the user mentions OpenAI agents, A2A, MCP servers, or agent orchestration.
- License
- Apache-2.0
- Metadata
- owner: engineering · domain: develop · version: 1.0.0
- Instructions
- 185 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- agent-communication.md
- chat-interfaces.md
- openai-patterns.md
- advanced-patterns.md · references/
SKILL.md (first lines)
# AI Agent Development
Build multi-agent systems with OpenAI API, chat interfaces, and agent registries.
## Quick Start
### Project Structure
```
my-agent-project/
├── agents/
│ ├── base_agent.py # Base agent class
│ ├── chat_agent.py # Conversational agent
│ └── specialist_agent.py # Domain-specific agent
├── registry/
│ ├── a2a_registry.py # Agent-to-Agent registry
│ └── mcp_registry.py # MCP server registry
├── interfaces/
│ ├── cli.py # CLI chat interface
│ ├── api.py # REST/WebSocket API
│ └── web/ # React frontend
├── communication/
│ └── message_bus.py # Inter-agent messaging
├── config/
│ └── settings.py # Configuration
└── docker-compose.yml # PostgreSQL + Redis
```
## Core Components
### 1. Base Agent (Python)
```python
from openai import OpenAI
from abc import ABC, abstractmethod
from typing import AsyncIterator
import json
class BaseAgent(ABC):
def __init__(self, agent_id: str, name: str, model: str = "gpt-4o"):
self.agent_id = agent_id
self.name = name
self.model = model
self.client = OpenAI()
self.system_prompt = self._build_system_prompt()
self.conversation_history = []
@abstractmethod
def _build_system_prompt(self) -> str:
"""Define agent's personality and capabilities."""
pass
@abstractmethod
def get_tools(self) -> list[dict]:
"""Define agent's available tools/functions."""
pass
async def chat(self, message: str) -> str:
self.conversation_history.append({"role": "user", "content": message})
response = self.client.chat.completions.create(
model=self.model,
messages=[
{"role": "system", "content": self.system_prompt},
*self.conversation_history
],
tools=self.get_tools() or None
)
assistant_message = response.choices[0].message
# Handle tool calls
if assistant_message.tool_calls:
return await self._handle_tool_calls(assistant_message)
self.conversation_history.append({
"role": "assistant",
"content": assistant_message.content
})
return assistant_message.content
async def stream_chat(self, message: str) -> AsyncIterator[str]:
"""Stream responses for real-time chat."""
self.conversation_history.append({"role": "user", "content": message})
stream = self.client.chat.completions.create(
model=self.model,
messages=[
{"role": "system", "content": self.system_prompt},
*self.conversation_history
],
stream=True
)
full_response = ""
for chunk in stream:
if chunk.choices[0].delta.content:
content = chunk.choices[0].delta.content
full_response += content
yield content
self.conversation_history.append({
"role": "assistant",
"content": full_response
})
```
### 2. Base Agent (TypeScript)
```typescript
import OpenAI from 'openai';
import { ChatCompletionMessageParam, ChatCompletionTool } from 'openai/resources';
export abstract class BaseAgent {
protected client: OpenAI;
protected conversationHistory: ChatCompletionMessageParam[] = [];
constructor(
public readonly agentId: string,From x1chg956/sdlc-skills, Apache-2.0.
More from x1chg956/sdlc-skills
- 0.414score
low-level-design
x1chg956
Create low-level design artifacts including sequence diagrams, entity relationship diagrams, class diagrams, and API contracts with ASST and cross-phase…
SkillDFreshness: DClaude Code +9 - 0.414score
golang
x1chg956
Develop Go applications with handlers, services, repositories, and middleware.
SkillDFreshness: DClaude Code +9 - 0.414score
architecture
x1chg956
Create system architecture, Architecture-Change-Definition documents, data flow diagrams, component architecture, and infrastructure diagrams with ASST and…
SkillDFreshness: DClaude Code +9 - 0.414score
react
x1chg956
Develop frontend applications with React, React Native, and Flutter.
SkillDFreshness: DClaude Code +9 - 0.411score
class-designer
x1chg956
Class diagram specialist for designing service layers, domain models, interfaces, and inheritance hierarchies.
SkillDFreshness: DClaude Code +9 - 0.411score
openapi-writer
x1chg956
OpenAPI/Swagger specification writer for enterprise POST-only APIs including action paths, reusable headers, request/response schemas, security, and examples.
SkillDFreshness: DClaude Code +9 - 0.409score
ui-ux-designer
x1chg956
Create UI/UX designs including low-fidelity wireframes, Figma-first high-fidelity specifications, optional HTML/CSS fallback prototypes, and user journey maps.
SkillDFreshness: DClaude Code +9 - 0.409score
figma-designer
x1chg956
Specialist for creating detailed Figma design specifications including design tokens, layer structures, component specs, and developer handoff documentation.
SkillDFreshness: DClaude Code +9 - 0.409score
user-journey-mapper
x1chg956
Specialist for creating user journey maps, user flows, and interaction diagrams using Mermaid.
SkillDFreshness: DClaude Code +9 - 0.409score
wireframe-designer
x1chg956
Specialist for creating low-fidelity ASCII wireframes and structural layouts.
SkillDFreshness: DClaude Code +9 - 0.409score
java-springboot
x1chg956
Develop Java Spring Boot applications with Java 21.
SkillDFreshness: DClaude Code +9 - 0.406score
design-doc-writer
x1chg956
Technical design document writer for system designs, feature specifications, and implementation plans.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 12, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- Apache-2.0
- Repository
- github.com/x1chg956/sdlc-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from x1chg956
- 0.414score
architecture
x1chg956
Create system architecture, Architecture-Change-Definition documents, data flow diagrams, component architecture, and infrastructure diagrams with ASST and…
SkillDFreshness: DClaude Code +9 - 0.414score
react
x1chg956
Develop frontend applications with React, React Native, and Flutter.
SkillDFreshness: DClaude Code +9 - 0.414score
golang
x1chg956
Develop Go applications with handlers, services, repositories, and middleware.
SkillDFreshness: DClaude Code +9 - 0.414score
low-level-design
x1chg956
Create low-level design artifacts including sequence diagrams, entity relationship diagrams, class diagrams, and API contracts with ASST and cross-phase…
SkillDFreshness: DClaude Code +9 - 0.411score
class-designer
x1chg956
Class diagram specialist for designing service layers, domain models, interfaces, and inheritance hierarchies.
SkillDFreshness: DClaude Code +9 - 0.411score
openapi-writer
x1chg956
OpenAPI/Swagger specification writer for enterprise POST-only APIs including action paths, reusable headers, request/response schemas, security, and examples.
SkillDFreshness: DClaude Code +9
Cite this page
ai-agent skill. Agent Mart. https://agentmart.dev/skills/x1chg956-ai-agent (last updated 2026-10-24)