# Demo Http

> Example skill — check HTTP endpoint health (status code, response time)

- **Type:** Skill
- **Install:** `agentstack add skill-wool-xing-test-agent-demo-http`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Wool-xing](https://agentstack.voostack.com/s/wool-xing)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Wool-xing](https://github.com/Wool-xing)
- **Source:** https://github.com/Wool-xing/Test-Agent/tree/main/examples/skills/demo-http
- **Website:** https://github.com/Wool-xing/Test-Agent

## Install

```sh
agentstack add skill-wool-xing-test-agent-demo-http
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Demo HTTP Check

## Overview

Simple HTTP health check skill. Checks that a URL returns the expected status code
within a time limit. Good starting point for learning Skill development.

## Quick Start

```bash
# Install
tagent skill install examples/skills/demo-http

# Use
tagent "check if https://example.com is up"
tagent "verify https://api.example.com/health returns 200"
tagent "is https://example.com responding within 2 seconds"
```

## Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| url | string | yes | - | Target URL (must start with http:// or https://) |
| expected_status | int | no | 200 | Expected HTTP status code |
| timeout | int | no | 10 | Timeout in seconds (1-30) |

## Output Format

```json
{
  "status": "pass",
  "summary": "https://example.com returned 200 in 230ms",
  "details": {
    "url": "https://example.com",
    "status_code": 200,
    "response_time_ms": 230
  },
  "checks": [
    {"name": "Status Code", "expected": 200, "actual": 200, "pass": true},
    {"name": "Response Time", "expected": "<10s", "actual": "230ms", "pass": true}
  ],
  "error": null
}
```

## Error Codes

| Code | Description | User Action |
|------|-------------|-------------|
| HTTP-001 | Invalid URL format | Check URL starts with http:// or https:// |
| HTTP-002 | Connection timeout | Check network/firewall, increase timeout |
| HTTP-003 | DNS resolution failed | Check domain name spelling |

## Testing

```bash
tagent skill test demo-http
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Wool-xing](https://github.com/Wool-xing)
- **Source:** [Wool-xing/Test-Agent](https://github.com/Wool-xing/Test-Agent)
- **License:** MIT
- **Homepage:** https://github.com/Wool-xing/Test-Agent

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-wool-xing-test-agent-demo-http
- Seller: https://agentstack.voostack.com/s/wool-xing
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
