[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EEP9504VYW9VG8NGRT09P2":3,"skill-same:01M6EEP9504VYW9VG8NGRT09P2":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EEP9504VYW9VG8NGRT09P2","consul",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",66,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fconsul\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Consul\n\nConsul provides service discovery, health checking, KV storage, and service mesh capabilities.\n\n## Installation\n\n```bash\n# Install Consul\nwget -O- https:\u002F\u002Fapt.releases.hashicorp.com\u002Fgpg | sudo gpg --dearmor -o \u002Fusr\u002Fshare\u002Fkeyrings\u002Fhashicorp-archive-keyring.gpg\necho \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fhashicorp-archive-keyring.gpg] https:\u002F\u002Fapt.releases.hashicorp.com $(lsb_release -cs) main\" | sudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fhashicorp.list\nsudo apt update && sudo apt install consul\n\n# Start dev agent\nconsul agent -dev\n\n# Check cluster members\nconsul members\n```\n\n## Server Configuration\n\n```hcl\n# consul-server.hcl — Production Consul server config\ndatacenter = \"dc1\"\ndata_dir   = \"\u002Fopt\u002Fconsul\u002Fdata\"\nlog_level  = \"INFO\"\n\nserver           = true\nbootstrap_expect = 3\n\nbind_addr   = \"{{ GetPrivateInterfaces | include \\\"network\\\" \\\"10.0.0.0\u002F8\\\" | attr \\\"address\\\" }}\"\nclient_addr = \"0.0.0.0\"\n\nui_config { enabled = true }\n\nconnect { enabled = true }\n\naddresses {\n  http  = \"0.0.0.0\"\n  grpc  = \"0.0.0.0\"\n}\n\nports {\n  grpc = 8502\n}\n\nencrypt = \"your-gossip-encryption-key\"\n\nacl {\n  enabled                  = true\n  default_policy           = \"deny\"\n  enable_token_persistence = true\n}\n\ntls {\n  defaults {\n    ca_file   = \"\u002Fopt\u002Fconsul\u002Ftls\u002Fca.pem\"\n    cert_file = \"\u002Fopt\u002Fconsul\u002Ftls\u002Fserver.pem\"\n    key_file  = \"\u002Fopt\u002Fconsul\u002Ftls\u002Fserver-key.pem\"\n    verify_incoming = true\n    verify_outgoing = true\n  }\n}\n\nautopilot {\n  cleanup_dead_servers = true\n  last_contact_threshold = \"200ms\"\n  server_stabilization_time = \"10s\"\n}\n```\n\n## Service Registration\n\n```json\n\u002F\u002F services\u002Fweb.json — Register web service with health check\n{\n  \"service\": {\n    \"name\": \"web\",\n    \"port\": 8080,\n    \"tags\": [\"production\", \"v2\"],\n    \"meta\": {\n      \"version\": \"2.0.0\"\n    },\n    \"check\": {\n      \"http\": \"http:\u002F\u002Flocalhost:8080\u002Fhealth\",\n      \"interval\": \"10s\",\n      \"timeout\": \"5s\",\n      \"deregister_critical_service_after\": \"30m\"\n    }\n  }\n}\n```\n\n```bash\n# Register and query services via CLI\nconsul services register services\u002Fweb.json\nconsul services deregister -id=web\n\n# DNS-based service discovery\ndig @127.0.0.1 -p 8600 web.service.consul SRV\n\n# HTTP API service discovery\ncurl http:\u002F\u002Flocalhost:8500\u002Fv1\u002Fhealth\u002Fservice\u002Fweb?passing=true\n\n# Catalog queries\nconsul catalog services\nconsul catalog nodes\n```\n\n## KV Store\n\n```bash\n# Key-value operations\nconsul kv put config\u002Fapp\u002Fdb_host \"db.example.com\"\nconsul kv put config\u002Fapp\u002Fdb_port \"5432\"\n\nconsul kv get config\u002Fapp\u002Fdb_host\nconsul kv get -recurse config\u002Fapp\u002F\n\n# Import\u002Fexport\nconsul kv export config\u002F > backup.json\nconsul kv import @backup.json\n\n# Delete keys\nconsul kv delete config\u002Fapp\u002Fdb_host\nconsul kv delete -recurse config\u002Fapp\u002F\n\n# Watch for changes\nconsul watch -type=key -key=config\u002Fapp\u002Fdb_host \u002Fscripts\u002Freload.sh\n```\n\n## Service Mesh (Connect)\n\n```hcl\n# connect-proxy.hcl — Service with sidecar proxy\nservice {\n  name = \"web\"\n  port = 8080\n\n  connect {\n    sidecar_service {\n      proxy {\n        upstreams {\n          destination_name = \"api\"\n          local_bind_port  = 9091\n        }\n        upstreams {\n          destination_name = \"database\"\n          local_bind_port  = 9092\n        }\n      }\n    }\n  }\n}\n```\n\n```hcl\n# intentions.hcl — Service intentions for access control\nKind = \"service-intentions\"\nName = \"api\"\nSources = [\n  {\n    Name   = \"web\"\n    Action = \"allow\"\n  },\n  {\n    Name   = \"*\"\n    Action = \"deny\"\n  }\n]\n```\n\n```bash\n# Manage intentions\nconsul config write intentions.hcl\nconsul intention list\nconsul intention check web api\n```\n\n## Prepared Queries\n\n```bash\n# Create prepared query for failover across datacenters\ncurl -X POST http:\u002F\u002Flocalhost:8500\u002Fv1\u002Fquery -d '{\n  \"Name\": \"web-query\",\n  \"Service\": {\n    \"Service\": \"web\",\n    \"Tags\": [\"production\"],\n    \"Failover\": {\n      \"Datacenters\": [\"dc2\", \"dc3\"]\n    },\n    \"OnlyPassing\": true\n  }\n}'\n```\n\n## ACL Configuration\n\n```bash\n# Bootstrap ACL system\nconsul acl bootstrap\n\n# Create policy\nconsul acl policy create -name \"app-read\" \\\n  -rules='service_prefix \"web\" { policy = \"read\" } key_prefix \"config\u002Fapp\" { policy = \"read\" }'\n\n# Create token with policy\nconsul acl token create -description \"App token\" -policy-name \"app-read\"\n```\n\n## Common Commands\n\n```bash\n# Cluster management\nconsul join 10.0.1.10\nconsul leave\nconsul operator raft list-peers\nconsul operator autopilot state\n\n# Snapshots for backup\nconsul snapshot save backup.snap\nconsul snapshot restore backup.snap\n\n# Monitor and debug\nconsul monitor -log-level=debug\nconsul debug -duration=30s -interval=5s\n```\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fconsul",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill consul",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill consul",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill consul","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fconsul\u002FSKILL.md",true,[],[46,60,70,79,85,92],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":56,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[51],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[57,58,59],"model","model hierarchy","model hierarchy skill",{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":66,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[65],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[67,68,69],"MCP","zoom","zoom mcp",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[76,77,78,68],"sdk","zoom apps sdk","apps",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":91,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[90],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[87],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[94]]