lens
Skill15 starsChanged 43 days agoMITView on GitHub
Expert Lens (Kubernetes IDE) assistance covering cluster visualization, pod metrics, log viewing, helm release management, and RBAC auditing. Use when operating and troubleshooting Kubernetes clusters via GUI.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- ritamgh/claude-skillstheir own version, first seen Nov 1, 2026
- simota/agent-skillstheir own version, first seen Oct 23, 2026
- agentsope/SkillAlchemytheir own version, first seen Oct 13, 2026
- frescodicredito/lenstheir own version, first seen Jun 15, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- agentsope/SkillAlchemy★ 465same name
- simota/agent-skills★ 96same name
- frescodicredito/lens★ 0same name
- ritamgh/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 109
Use Lens Workspaces to categorize clusters by environment (Production, Staging, Ephemeral Dev).
- Distinctive: line 115
Leave production cluster connections active without MFA-backed IAM authenticator tokens.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lens Desktop
Lens is an intuitive Kubernetes desktop IDE that simplifies cluster monitoring, pod troubleshooting, log inspection, and multi-cluster navigation.
When to Use
- Multi-Cluster Kubernetes Observability: Visualizing nodes, pods, deployments, and CRDs across AWS EKS, Google GKE, Azure AKS, and local clusters.
- Fast Troubleshooting & Container Exec: Inspecting live container logs, resource utilization, and opening interactive terminal sessions inside pods.
- Helm Release Lifecycle Management: Deploying, customizing values, and rolling back Helm charts directly from a unified desktop interface.
- RBAC & Security Audit: Auditing ServiceAccounts, ClusterRoles, and RoleBindings across complex enterprise multi-tenant environments.
Quick Start
# Add active kubeconfig context to Lens desktop application:
# File > Add Cluster > Select from local ~/.kube/configCore Concepts
Unified Multi-Cluster Kubeconfig Management
Configuring Lens to track multiple cloud and on-premise clusters via aggregated kubeconfig:
# Merge multiple cloud kubeconfigs into a dedicated Lens catalog file
export KUBECONFIG=~/.kube/config:~/.kube/prod-eks.yaml:~/.kube/staging-gke.yaml
kubectl config view --flatten > ~/.kube/lens-clusters.yaml
# Set permissions and launch Lens with target kubeconfig
chmod 600 ~/.kube/lens-clusters.yamlLens cluster catalog entry in ~/.k8slens/clusters.json:
{
"clusters": [
{
"id": "prod-us-east-1",
"name": "Production EKS US-East",
"kubeConfigPath": "~/.kube/lens-clusters.yaml",
"contextName": "arn:aws:eks:us-east-1:123456789012:cluster/prod-us-east",
"prometheus": {
"type": "prometheus-operator",
"service": "monitoring/prometheus-k8s:9090"
}
}
]
}Lens Metrics & Prometheus Operator Integration
Configuring Prometheus ServiceMonitor to feed live node and pod metrics into Lens:
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: lens-metrics-collector
namespace: monitoring
labels:
release: prometheus-stack
spec:
selector:
matchLabels:
app.kubernetes.io/name: kube-state-metrics
endpoints:
- port: http-metrics
interval: 15sAutomated Pod Log Export & Shell Diagnostics
- Select pod in Workloads -> Pods.
- Click Terminal icon to spawn instant shell with injected environment:
# Inside Lens pod shell: inspect process tree and open network sockets ps aux netstat -tuln curl -I http://localhost:8080/healthz
Common Patterns
Multi-Cluster Kubeconfig Management
Problem: Managing distinct credentials for dozens of Kubernetes clusters.
Solution: Merge multiple cluster configs into a unified directory watched by Lens.
# Merge multiple kubeconfigs
export KUBECONFIG=~/.kube/config:~/.kube/prod-cluster.yaml:~/.kube/staging-cluster.yaml
kubectl config view --flatten > ~/.kube/all-clusters.yaml
# Add ~/.kube/all-clusters.yaml to Lens CatalogBest Practices
Do:
- Configure Prometheus metrics provider in cluster settings to enable CPU, Memory, and Network graphs.
- Use Lens Workspaces to categorize clusters by environment (Production, Staging, Ephemeral Dev).
- Audit RBAC permissions before granting team members cluster access; Lens inherits underlying kubeconfig privileges.
- Utilize the built-in Terminal with cluster context pre-set to run
kubectlcommands rapidly.
Don't:
- Leave production cluster connections active without MFA-backed IAM authenticator tokens.
- Edit production ConfigMaps or Deployments live in Lens UI without checking changes into Git (GitOps).
- Install unverified community extensions that require broad local file access.
Troubleshooting
| Error | Cause | Solution |
Metrics not showing in Lens charts | Prometheus not installed or Lens cluster metrics settings unconfigured. | Right-click cluster > Settings > Metrics > Select Prometheus provider. |
Cluster state shows Disconnected | API server unreachable or certificate expired in kubeconfig. | Refresh kubeconfig token via cloud CLI (e.g. aws eks update-kubeconfig). |
Lens CPU / Memory usage high | Monitoring multiple high-pod clusters simultaneously. | Close inactive cluster workspaces in Lens drawer. |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

