— No reviews yet
0 installs
7 views
0.0% view→install
Install
$ agentstack add skill-crestapps-crestapps-agentskills-crestapps-core-response-handlers ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Crestapps Core Response Handlers? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
CrestApps.Core Response Handlers - Prompt Templates
Implement Response Handlers
You are a CrestApps.Core expert. Generate code and architecture guidance for response handlers in CrestApps.Core.
Guidelines
- Use response handlers when not every message should go to the default AI path.
- Implement
IChatResponseHandler. - Keep handler names unique.
- Use handlers for AI, webhook, live-agent, and external relay scenarios.
- Build timeouts and cancellation handling into custom handlers.
Interface
public interface IChatResponseHandler
{
string Name { get; }
Task HandleAsync(
ChatResponseHandlerContext context,
CancellationToken cancellationToken = default);
}
Webhook Handler Example
public sealed class WebhookResponseHandler(IHttpClientFactory httpClientFactory) : IChatResponseHandler
{
public string Name => "webhook";
public async Task HandleAsync(
ChatResponseHandlerContext context,
CancellationToken cancellationToken)
{
var client = httpClientFactory.CreateClient();
var payload = new
{
sessionId = context.Session.Id,
message = context.Messages.Last().Text,
};
var response = await client.PostAsJsonAsync("https://example.com/chat", payload, cancellationToken);
return response.IsSuccessStatusCode
? ChatResponseHandlerResult.Handled()
: ChatResponseHandlerResult.NotHandled();
}
}
Register a Handler
builder.Services.AddScoped();
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: CrestApps
- Source: CrestApps/CrestApps.AgentSkills
- License: MIT
- Homepage: https://crestapps.com/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.