feat(skills): add int-portainer integration (Portainer container/stack monitoring)#114
Open
mt-alarcon wants to merge 1 commit into
Open
Conversation
…k monitoring) New skill for managing and monitoring Portainer CE/EE instances. Supports multi-instance configuration via env vars (PORTAINER_<NAME>_URL + PORTAINER_<NAME>_TOKEN), dynamic instance discovery at runtime, and standard skill command interface. Commands: ping, health, containers, stacks, logs, events, deploy, stop, restart, exec, smoke. Tests: 13 unit tests covering .env auto-load, dynamic discovery, logs guard, and smoke. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Sorry @mt-alarcon, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
int-portainerskill for managing and monitoring Portainer CE/EE container orchestration instancesPORTAINER_<NAME>_URL+PORTAINER_<NAME>_TOKENpair in.envis discovered at runtime.envauto-load pattern as existingint-*skillsConfiguration
# .env — one block per instance PORTAINER_PROD_URL=https://portainer.prod.example.com PORTAINER_PROD_TOKEN=ptr_xxxx PORTAINER_STAGING_URL=https://portainer.staging.example.com PORTAINER_STAGING_TOKEN=ptr_yyyyNo API keys or secrets are required at install time — credential pattern matches existing skills.
Commands
pinghealthcontainersstackslogs--lines)eventsdeploystop/restartexecsmokeTests
13 unit tests covering:
.envauto-load (populates env without overriding existing vars)PORTAINER_<NAME>_*env varscmd_logsguard rejectsendpoint_id=Nonewith clear errorresolve_instances('all')iterates all configured instancessmokecommand always exits 0 and returns valid JSONAll tests pass with
pytest .claude/skills/int-portainer/tests/ -v.Checklist
.envauto-load without requiring manualsourcesmokecommand follows the standard exit-0+JSON pattern🤖 Generated with Claude Code