A framework for Adaptive Capability Profiling