Agent skill
docs-ringcentral-engage-digital-cha
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/documents/docs-ringcentral-engage-digital-cha
SKILL.md
Write/use a bot skill
Write a bot skill
For a simple ping-pong bot skill:
const cheerio = require('cheerio')
const _ = require('lodash')
exports.name = 'ping-pong bot skill'
exports.description = 'reply to "ping" with "pong"'
function isPing (event) {
let $ = cheerio.load(_.get(event, 'resource.metadata.body'))
let txt = $('body').text().trim()
console.log('txt:', txt)
return txt === 'ping'
}
exports.onEvent = async ({
event,
client,
handled // hanlded by prev skills
}) => {
if (handled) {
return
}
if (isPing(event)) {
await client.reply(event, {
title: 'pong',
body: 'pong'
})
return true
}
}
For full config, check full-config-skill.js
Use a bot skill
// in you bot file
const skillA = require('skill-a')
const skillB = require('skill-b')
exports.skills = [skillA, skillB]
That is it.
Real example
- todo
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?